Created
May 31, 2020 04:25
-
-
Save varungandhi-apple/913f860521eb903176765cf670cb3336 to your computer and use it in GitHub Desktop.
include-what-you-use suggestions for apple/swift
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/varun/foss-swift/swift/stdlib/include/llvm/Support/ErrorHandling.h should add these lines: | |
#include "iosfwd" // for string | |
/Users/varun/foss-swift/swift/stdlib/include/llvm/Support/ErrorHandling.h should remove these lines: | |
- #include <string> // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/include/llvm/Support/ErrorHandling.h: | |
#include "iosfwd" // for string | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_NORETURN | |
namespace __swift { namespace __runtime { namespace llvm { class StringRef; } } } // lines 22-22 | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/ErrorHandling.cpp should add these lines: | |
#include "string" // for basic_string | |
/Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/ErrorHandling.cpp should remove these lines: | |
- #include <unistd.h> // lines 24-24 | |
- #include <cassert> // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/ErrorHandling.cpp: | |
#include "llvm/Support/ErrorHandling.h" | |
#include <asl.h> // for asl_log, ASL_LEVEL_ERR | |
#include <stdarg.h> // for va_end, va_list, va_start | |
#include <stdio.h> // for vsnprintf | |
#include <cstdlib> // for abort | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
--- | |
/Users/varun/foss-swift/swift/stdlib/include/llvm/ADT/Hashing.h should add these lines: | |
#include <stdint.h> // for uint64_t, uint32_t, uint8_t | |
#include "cstdint" // for uint64_t | |
#include "iterator" // for distance, end | |
#include "type_traits" // for enable_if_t, swap, integral_... | |
/Users/varun/foss-swift/swift/stdlib/include/llvm/ADT/Hashing.h should remove these lines: | |
- #include "llvm/Support/DataTypes.h" // lines 47-47 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/include/llvm/ADT/Hashing.h: | |
#include <stdint.h> // for uint64_t, uint32_t, uint8_t | |
#include <algorithm> // for rotate | |
#include <cassert> // for assert | |
#include <cstring> // for size_t, memcpy | |
#include <string> // for basic_string | |
#include <utility> // for pair | |
#include "cstdint" // for uint64_t | |
#include "iterator" // for distance, end | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SwapByteOrder.h" // for swapByteOrder, IsBigEndianHost | |
#include "llvm/Support/type_traits.h" // for is_integral_or_enum | |
#include "type_traits" // for enable_if_t, swap, integral_... | |
--- | |
(/Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/Hashing.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/stdlib/include/llvm/ADT/StringRef.h should add these lines: | |
#include "__nullptr" // for nullptr_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Hashing.h" // for hash_code | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "string.h" // for memchr | |
/Users/varun/foss-swift/swift/stdlib/include/llvm/ADT/StringRef.h should remove these lines: | |
- namespace __swift { namespace __runtime { namespace llvm { class hash_code; } } } // lines 36-36 | |
- namespace __swift { namespace __runtime { namespace llvm { template <typename T> class SmallVectorImpl; } } } // lines 37-37 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/include/llvm/ADT/StringRef.h: | |
#include <algorithm> // for min, copy, max | |
#include <cassert> // for assert | |
#include <cstddef> // for size_t | |
#include <cstring> // for memcmp | |
#include <limits> // for numeric_limits | |
#include <string> // for basic_string | |
#include <type_traits> // for move, enable_if_t, is_same | |
#include <utility> // for make_pair, pair | |
#include "__nullptr" // for nullptr_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Hashing.h" // for hash_code | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/ADT/iterator_range.h" // for make_range, iterator_range | |
#include "llvm/Support/Compiler.h" // for LLVM_NODISCARD, LLVM_GSL_POINTER | |
#include "string.h" // for memchr | |
namespace __swift { namespace __runtime { namespace llvm { class StringRef; } } } // lines 38-38 | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/StringRef.cpp should add these lines: | |
#include <limits.h> // for CHAR_BIT | |
#include <stdint.h> // for uint8_t | |
#include "algorithm" // for min | |
#include "llvm/ADT/None.h" // for llvm | |
#include "llvm/ADT/StringExtras.h" // for toLower, isDigit, toUpper | |
#include "string" // for basic_string | |
/Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/StringRef.cpp should remove these lines: | |
- #include "llvm/Support/Error.h" // lines 11-11 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/LLVMSupport/StringRef.cpp: | |
#include "llvm/ADT/StringRef.h" | |
#include <limits.h> // for CHAR_BIT | |
#include <stdint.h> // for uint8_t | |
#include <bitset> // for bitset | |
#include "algorithm" // for min | |
#include "llvm/ADT/Hashing.h" // for hash_combine_range, hash_code | |
#include "llvm/ADT/None.h" // for llvm | |
#include "llvm/ADT/StringExtras.h" // for toLower, isDigit, toUpper | |
#include "string" // for basic_string | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/Assert.cpp should add these lines: | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/Assert.cpp should remove these lines: | |
- #include <stdio.h> // lines 18-18 | |
- #include <cstdarg> // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/stubs/Assert.cpp: | |
#include <inttypes.h> // for PRIu32 | |
#include <stdlib.h> // for free | |
#include <cstdint> // for uint32_t | |
#include "../SwiftShims/AssertionReporting.h" // for _swift_stdlib_reportFa... | |
#include "swift/Runtime/Config.h" // for swift | |
#include "swift/Runtime/Debug.h" // for swift_asprintf, swift_... | |
--- | |
(/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/GlobalObjects.h has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/GlobalObjects.cpp should add these lines: | |
#include <string.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/HeapObject.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/RefCount.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/SwiftStdint.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "new" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/Demangling/ManglingMacros.h" | |
#include "swift/Runtime/Config.h" | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/GlobalObjects.cpp should remove these lines: | |
- #include "swift/Runtime/Debug.h" // lines 22-22 | |
- #include "swift/Runtime/Metadata.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/stubs/GlobalObjects.cpp: | |
#include "../SwiftShims/GlobalObjects.h" | |
#include <stdlib.h> | |
#include <string.h> | |
#include "../SwiftShims/Random.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/HeapObject.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/RefCount.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/SwiftStdint.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "new" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/Demangling/ManglingMacros.h" | |
#include "swift/Runtime/Config.h" | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/Stubs.cpp should add these lines: | |
#include <_xlocale.h> | |
#include <math.h> | |
#include <strings.h> | |
#include <xlocale/_stdlib.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/SwiftStddef.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "algorithm" | |
#include "swift/Runtime/Config.h" | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/Stubs.cpp should remove these lines: | |
- #include <sys/resource.h> // lines 34-34 | |
- #include <unistd.h> // lines 35-35 | |
- #include <xlocale.h> // lines 73-73 | |
- #include <climits> // lines 37-37 | |
- #include <clocale> // lines 38-38 | |
- #include <cstdarg> // lines 39-39 | |
- #include <cstdlib> // lines 42-42 | |
- #include "../SwiftShims/LibcShims.h" // lines 81-81 | |
- #include "swift/Basic/Lazy.h" // lines 79-79 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/stubs/Stubs.cpp: | |
#include <_xlocale.h> | |
#include <math.h> | |
#include <strings.h> | |
#include <sys/errno.h> | |
#include <xlocale/_stdlib.h> | |
#include <cstdint> | |
#include <cstdio> | |
#include <cstring> | |
#include <limits> | |
#include <thread> | |
#include "../SwiftShims/RuntimeShims.h" | |
#include "../SwiftShims/RuntimeStubs.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/SwiftStddef.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "algorithm" | |
#include "llvm/ADT/StringExtras.h" | |
#include "swift/Runtime/Config.h" | |
#include "swift/Runtime/Debug.h" | |
#include "swift/Runtime/SwiftDtoa.h" | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/ThreadLocalStorage.cpp should add these lines: | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "swift/Runtime/Config.h" | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/ThreadLocalStorage.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/stubs/ThreadLocalStorage.cpp: | |
#include <cstring> | |
#include "../SwiftShims/ThreadLocalStorage.h" | |
#include "../runtime/ThreadLocalStorage.h" | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "swift/Basic/Lazy.h" | |
#include "swift/Runtime/Config.h" | |
#include "swift/Runtime/Debug.h" | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/MathStubs.cpp should add these lines: | |
/Users/varun/foss-swift/swift/stdlib/public/stubs/MathStubs.cpp should remove these lines: | |
- #include <climits> // lines 21-21 | |
- #include <cstdlib> // lines 22-22 | |
- #include "../SwiftShims/Visibility.h" // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/stubs/MathStubs.cpp: | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Reflection/MetadataSource.h should add these lines: | |
#include <stdio.h> // for FILE | |
#include <stdlib.h> // for strtol | |
#include <sys/errno.h> // for ERANGE, errno | |
#include "iosfwd" // for string | |
#include "iterator" // for distance | |
#include "string" // for basic_string, basic_... | |
#include "type_traits" // for forward | |
/Users/varun/foss-swift/swift/include/swift/Reflection/MetadataSource.h should remove these lines: | |
- #include <iostream> // lines 31-31 | |
- #include "llvm/ADT/Optional.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Reflection/MetadataSource.h: | |
#include <stdio.h> // for FILE | |
#include <stdlib.h> // for strtol | |
#include <sys/errno.h> // for ERANGE, errno | |
#include <climits> // for LONG_MAX, LONG_MIN | |
#include "iosfwd" // for string | |
#include "iterator" // for distance | |
#include "llvm/Support/Casting.h" // for cast | |
#include "string" // for basic_string, basic_... | |
#include "swift/Reflection/MetadataSources.def" // for MetadataSourceKind::... | |
#include "swift/Reflection/MetadataSources.def" // for MetadataSourceKind::... | |
#include "type_traits" // for forward | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/MetadataSource.cpp should add these lines: | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/MetadataSource.cpp should remove these lines: | |
- #include <sstream> // lines 15-15 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/Reflection/MetadataSource.cpp: | |
#include "swift/Reflection/MetadataSource.h" | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeLowering.cpp should add these lines: | |
#include <assert.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "algorithm" | |
#include "iosfwd" | |
#include "limits" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/DenseSet.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/Support/Casting.h" | |
#include "memory" | |
#include "new" | |
#include "string" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Demangling/TypeDecoder.h" | |
#include "swift/Reflection/Records.h" | |
#include "swift/Remote/MemoryReader.h" | |
#include "swift/Remote/MetadataReader.h" | |
#include "swift/Remote/RemoteAddress.h" | |
#include "type_traits" | |
#include "unordered_map" | |
#include "utility" | |
#include "vector" | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeLowering.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeLowering.cpp: | |
#include <assert.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "algorithm" | |
#include "iosfwd" | |
#include "limits" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/DenseSet.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/Support/Casting.h" | |
#include "memory" | |
#include "new" | |
#include "string" | |
#include "swift/ABI/Enum.h" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/AST/ReferenceStorage.def" // lines 198-198 | |
#include "swift/AST/ReferenceStorage.def" // lines 1572-1572 | |
#include "swift/AST/ReferenceStorage.def" // lines 1707-1707 | |
#include "swift/AST/ReferenceStorage.def" // lines 2153-2153 | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Demangling/TypeDecoder.h" | |
#include "swift/Reflection/Records.h" | |
#include "swift/Reflection/TypeLowering.h" | |
#include "swift/Reflection/TypeRef.h" | |
#include "swift/Reflection/TypeRefBuilder.h" | |
#include "swift/Remote/MemoryReader.h" | |
#include "swift/Remote/MetadataReader.h" | |
#include "swift/Remote/RemoteAddress.h" | |
#include "swift/Runtime/Unreachable.h" | |
#include "type_traits" | |
#include "unordered_map" | |
#include "utility" | |
#include "vector" | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeRef.cpp should add these lines: | |
#include <assert.h> | |
#include <stdio.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "iosfwd" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/None.h" | |
#include "llvm/ADT/Optional.h" | |
#include "llvm/ADT/SmallVector.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/Support/Casting.h" | |
#include "new" | |
#include "string" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/AST/Ownership.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Demangling/Demangler.h" | |
#include "swift/Demangling/TypeDecoder.h" | |
#include "swift/Reflection/TypeLowering.h" | |
#include "swift/Strings.h" | |
#include "tuple" | |
#include "type_traits" | |
#include "unordered_map" | |
#include "utility" | |
#include "vector" | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeRef.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeRef.cpp: | |
#include <assert.h> | |
#include <stdio.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "iosfwd" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/None.h" | |
#include "llvm/ADT/Optional.h" | |
#include "llvm/ADT/SmallVector.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/Support/Casting.h" | |
#include "new" | |
#include "string" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/AST/Ownership.h" | |
#include "swift/AST/ReferenceStorage.def" // lines 251-251 | |
#include "swift/AST/ReferenceStorage.def" // lines 376-376 | |
#include "swift/AST/ReferenceStorage.def" // lines 672-672 | |
#include "swift/AST/ReferenceStorage.def" // lines 875-875 | |
#include "swift/AST/ReferenceStorage.def" // lines 1058-1058 | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/Range.h" | |
#include "swift/Demangling/Demangle.h" | |
#include "swift/Demangling/Demangler.h" | |
#include "swift/Demangling/TypeDecoder.h" | |
#include "swift/Reflection/TypeLowering.h" | |
#include "swift/Reflection/TypeRef.h" | |
#include "swift/Reflection/TypeRefBuilder.h" | |
#include "swift/Strings.h" | |
#include "tuple" | |
#include "type_traits" | |
#include "unordered_map" | |
#include "utility" | |
#include "vector" | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Reflection/TypeRefBuilder.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t, uintptr_t | |
#include <stdio.h> // for FILE, fputs, stderr | |
#include <stdlib.h> // for abort | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "iterator" // for forward_iterator... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, hash | |
#include "swift/ABI/MetadataValues.h" // for FunctionTypeFlags | |
#include "swift/Basic/LLVM.h" // for None | |
#include "swift/Demangling/Demangle.h" // for mangleNode, Node | |
#include "swift/Demangling/Demangler.h" // for StringRef, Deman... | |
#include "swift/Demangling/TypeDecoder.h" // for ImplMetatypeRepr... | |
#include "type_traits" // for move, forward | |
#include "utility" // for pair, make_pair | |
namespace swift { namespace reflection { class MetadataSource; } } | |
/Users/varun/foss-swift/swift/include/swift/Reflection/TypeRefBuilder.h should remove these lines: | |
- namespace swift { namespace reflection { template <typename Runtime> class ReflectionContext; } } // lines 36-36 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Reflection/TypeRefBuilder.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t, uintptr_t | |
#include <stdio.h> // for FILE, fputs, stderr | |
#include <stdlib.h> // for abort | |
#include <unordered_map> // for operator!=, unor... | |
#include <vector> // for vector | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "iterator" // for forward_iterator... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, hash | |
#include "swift/ABI/MetadataValues.h" // for FunctionTypeFlags | |
#include "swift/AST/ReferenceStorage.def" // lines 510-510 | |
#include "swift/Basic/LLVM.h" // for None | |
#include "swift/Demangling/Demangle.h" // for mangleNode, Node | |
#include "swift/Demangling/Demangler.h" // for StringRef, Deman... | |
#include "swift/Demangling/TypeDecoder.h" // for ImplMetatypeRepr... | |
#include "swift/Reflection/MetadataSourceBuilder.h" // for MetadataSourceBu... | |
#include "swift/Reflection/Records.h" // for AssociatedTypeDe... | |
#include "swift/Reflection/TypeLowering.h" // for RemoteRef, TypeC... | |
#include "swift/Reflection/TypeRef.h" // for TypeRefID::Equal | |
#include "swift/Reflection/TypeRefs.def" // lines 247-247 | |
#include "swift/Reflection/TypeRefs.def" // lines 278-278 | |
#include "swift/Remote/MetadataReader.h" // for RemoteRef, Mangl... | |
#include "type_traits" // for move, forward | |
#include "utility" // for pair, make_pair | |
namespace swift { namespace reflection { class MetadataSource; } } | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeRefBuilder.cpp should add these lines: | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/ABI/Metadata.h" // for reflection | |
#include "swift/Reflection/MetadataSource.h" // for MetadataSource | |
#include "unordered_map" // for operator!=, unordered_map | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeRefBuilder.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/Reflection/TypeRefBuilder.cpp: | |
#include "swift/Reflection/TypeRefBuilder.h" | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/ABI/Metadata.h" // for reflection | |
#include "swift/Demangling/Demangle.h" // for Node, nodeToString, man... | |
#include "swift/Reflection/MetadataSource.h" // for MetadataSource | |
#include "swift/Reflection/Records.h" // for BuiltinTypeDescriptor | |
#include "swift/Reflection/TypeLowering.h" // for TypeRefBuilder::createU... | |
#include "swift/Reflection/TypeRef.h" // for TypeRef, BoundGenericTy... | |
#include "swift/Remote/MetadataReader.h" // for RemoteRef | |
#include "unordered_map" // for operator!=, unordered_map | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/Darwin/os/os_trace_blob.h should add these lines: | |
#include <_ctype.h> // for isspace | |
#include <os/base.h> // for OS_ALWAYS_INLINE, OS_ENUM, OS_MALLOC | |
/Users/varun/foss-swift/swift/stdlib/public/Darwin/os/os_trace_blob.h should remove these lines: | |
- #include <ctype.h> // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/Darwin/os/os_trace_blob.h: | |
#include <_ctype.h> // for isspace | |
#include <os/base.h> // for OS_ALWAYS_INLINE, OS_ENUM, OS_MALLOC | |
#include <stdbool.h> // for bool | |
#include <stdint.h> // for uint32_t, uint8_t, uint16_t | |
#include <stdlib.h> // for free, size_t | |
#include <string.h> // for strlen, size_t, memcpy | |
#include "thunks.h" // for os_unlikely, OS_TRACE_INTERNAL_CRASH | |
--- | |
/Users/varun/foss-swift/swift/stdlib/public/Darwin/os/os_trace_blob.c should add these lines: | |
#include <sys/param.h> // for MAX, MIN | |
#include <unistd.h> // for sleep | |
/Users/varun/foss-swift/swift/stdlib/public/Darwin/os/os_trace_blob.c should remove these lines: | |
- #include <ctype.h> // lines 13-13 | |
- #include <dispatch/dispatch.h> // lines 14-14 | |
- #include <locale.h> // lines 17-17 | |
- #include <os/log.h> // lines 16-16 | |
- #include <xlocale.h> // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/public/Darwin/os/os_trace_blob.c: | |
#include "os_trace_blob.h" | |
#include <os/base.h> // for OS_NOINLINE | |
#include <sys/param.h> // for MAX, MIN | |
#include <unistd.h> // for sleep | |
--- | |
/Users/varun/foss-swift/swift/stdlib/private/SwiftPrivateLibcExtras/Subprocess.c should add these lines: | |
#include <sys/cdefs.h> // for __restrict | |
/Users/varun/foss-swift/swift/stdlib/private/SwiftPrivateLibcExtras/Subprocess.c should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/private/SwiftPrivateLibcExtras/Subprocess.c: | |
#include <spawn.h> // for posix_spawn_file_actions_t, posix_... | |
#include <sys/cdefs.h> // for __restrict | |
#include <sys/types.h> // for pid_t | |
#include "swift/Runtime/Config.h" // for SWIFT_CC, SWIFT_CC_swift | |
--- | |
/Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/InspectValue.cpp should add these lines: | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/ABI/MetadataValues.h" | |
namespace swift { struct OpaqueValue; } | |
/Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/InspectValue.cpp should remove these lines: | |
- #include "swift/Runtime/Metadata.h" // lines 14-14 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/InspectValue.cpp: | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/Visibility.h" | |
#include "swift/ABI/Metadata.h" | |
#include "swift/ABI/MetadataKind.def" // lines 24-24 | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/Runtime/Config.h" | |
namespace swift { struct OpaqueValue; } | |
--- | |
/Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/InterceptTraps.cpp should add these lines: | |
#include <sys/signal.h> // for signal, SIGABRT, SIGBUS, SIGFPE | |
/Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/InterceptTraps.cpp should remove these lines: | |
- #include <signal.h> // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/InterceptTraps.cpp: | |
#include <stdio.h> // for setbuf, stdout | |
#include <string.h> // for strlen | |
#include <sys/signal.h> // for signal, SIGABRT, SIGBUS, SIGFPE | |
#include <unistd.h> // for _exit, write, STDERR_FILENO | |
#include "swift/Runtime/Config.h" // for SWIFT_CC, SWIFT_CC_swift, SWIFT_RU... | |
--- | |
(/Users/varun/foss-swift/swift/stdlib/private/StdlibUnittest/OpaqueIdentityFunctions.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/stdlib/tools/swift-reflection-test/swift-reflection-test.c should add these lines: | |
#include <sys/errno.h> // for errno | |
#include "swift/SwiftRemoteMirror/MemoryReaderInterface.h" // for swift_ad... | |
#include "swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h" // for swift_ty... | |
/Users/varun/foss-swift/swift/stdlib/tools/swift-reflection-test/swift-reflection-test.c should remove these lines: | |
- #include <assert.h> // lines 24-24 | |
- #include <errno.h> // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/stdlib/tools/swift-reflection-test/swift-reflection-test.c: | |
#include <TargetConditionals.h> // for TARGET_O... | |
#include <dlfcn.h> // for dlsym | |
#include <stdint.h> // for uintptr_t | |
#include <stdio.h> // for printf | |
#include <stdlib.h> // for EXIT_SUC... | |
#include <string.h> // for strerror | |
#include <sys/errno.h> // for errno | |
#include <unistd.h> // for write | |
#include "messages.h" // for Instance... | |
#include "overrides.h" // for _execv | |
#include "swift/Demangling/ManglingMacros.h" // for MANGLING... | |
#include "swift/SwiftRemoteMirror/MemoryReaderInterface.h" // for swift_ad... | |
#include "swift/SwiftRemoteMirror/SwiftRemoteMirror.h" // for swift_re... | |
#include "swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h" // for swift_ty... | |
--- | |
(/Users/varun/foss-swift/swift/stdlib/tools/swift-reflection-test/overrides.h has correct #includes/fwd-decls) | |
(/Users/varun/foss-swift/swift/stdlib/tools/swift-reflection-test/overrides.c has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/include/swift/AST/AbstractSourceFileDepGraphFactory.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
/Users/varun/foss-swift/swift/include/swift/AST/AbstractSourceFileDepGraphFactory.h should remove these lines: | |
- #include "swift/AST/DeclContext.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/AbstractSourceFileDepGraphFactory.h: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/AST/FineGrainedDependencies.h" // for DependencyKey (ptr only) | |
namespace swift { class DiagnosticEngine; } // lines 20-20 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/AbstractSourceFileDepGraphFactory.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/None.h" // for None | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/AST/AbstractSourceFileDepGraphFactory.cpp should remove these lines: | |
- #include "llvm/ADT/MapVector.h" // lines 23-23 | |
- #include "llvm/ADT/SetVector.h" // lines 24-24 | |
- #include "llvm/ADT/SmallVector.h" // lines 25-25 | |
- #include "llvm/Support/YAMLParser.h" // lines 26-26 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 16-16 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 17-17 | |
- #include "swift/AST/FileSystem.h" // lines 18-18 | |
- #include "swift/Basic/FileSystem.h" // lines 20-20 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/AbstractSourceFileDepGraphFactory.cpp: | |
#include "swift/AST/AbstractSourceFileDepGraphFactory.h" | |
#include <assert.h> // for assert | |
#include "llvm/ADT/None.h" // for None | |
#include "swift/AST/FineGrainedDependencies.h" // for SourceFileDepGraph | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind, NodeKind:... | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/AccessRequests.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "algorithm" // for max, min | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.h" // for DeclAttributes, AccessCont... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLevel::... | |
#include "swift/AST/DeclContext.h" // for DeclContextKind, DeclContext | |
#include "swift/AST/Evaluator.h" // for AbstractRequestFunction, None | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/Basic/LLVM.h" // for isa, cast, dyn_cast, swift | |
#include "swift/Basic/OptionalEnum.h" // for OptionalEnum | |
#include "swift/Basic/TypeID.h" // for Zone, Zone::AccessControl | |
#include "tuple" // for get | |
#include "type_traits" // for move | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/AST/AccessRequests.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsCommon.h" // lines 17-17 | |
- #include "swift/AST/Types.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/AccessRequests.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "algorithm" // for max, min | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/MathExtras.h" // for findFirstSet, findLastSet | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AccessRequests.h" // for DefaultAndMaxAccessLevelRe... | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/AccessTypeIDZone.def" // lines 327-327 | |
#include "swift/AST/Attr.h" // for DeclAttributes, AccessCont... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLevel::... | |
#include "swift/AST/Decl.h" // for ValueDecl, ExtensionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContextKind, DeclContext | |
#include "swift/AST/Evaluator.h" // for AbstractRequestFunction, None | |
#include "swift/AST/Module.h" // for ModuleDecl, SourceFileKind | |
#include "swift/AST/NameLookupRequests.h" // for TypeDeclsFromWhereClauseRe... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/Basic/ImplementTypeIDZone.h" // lines 31-31 | |
#include "swift/Basic/LLVM.h" // for isa, cast, dyn_cast, swift | |
#include "swift/Basic/OptionalEnum.h" // for OptionalEnum | |
#include "swift/Basic/TypeID.h" // for Zone, Zone::AccessControl | |
#include "swift/Subsystems.h" // for registerAccessRequestFunct... | |
#include "tuple" // for get | |
#include "type_traits" // for move | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTContext.h should add these lines: | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include <new> // for operator new | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "new" // for operator new | |
#include "swift/Basic/LLVM.h" // for MutableArrayRef, SmallVecto... | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Unifi... | |
#include "tuple" // for tuple | |
#include "type_traits" // for remove_reference, forward | |
namespace clang { class Type; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class TinyPtrVector; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ProtocolConformance; } | |
namespace swift { class SearchPathOptions; } | |
namespace swift { class SubstitutionMap; } | |
namespace swift { class TangentSpace; } | |
namespace swift { struct AutoDiffConfig; } | |
namespace swift { struct AutoDiffDerivativeFunctionKind; } | |
namespace swift { template <typename T> struct Located; } | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTContext.h should remove these lines: | |
- #include "llvm/ADT/PointerIntPair.h" // lines 34-34 | |
- #include "llvm/ADT/TinyPtrVector.h" // lines 38-38 | |
- #include "llvm/Support/DataTypes.h" // lines 40-40 | |
- #include "swift/AST/SearchPathOptions.h" // lines 23-23 | |
- #include "swift/AST/TypeAlignments.h" // lines 26-26 | |
- #include "swift/Basic/Located.h" // lines 28-28 | |
- namespace clang { class MacroInfo; } // lines 48-48 | |
- namespace clang { class Module; } // lines 49-49 | |
- namespace clang { class ObjCInterfaceDecl; } // lines 50-50 | |
- namespace swift { class ArchetypeType; } // lines 91-91 | |
- namespace swift { class BoundGenericType; } // lines 62-62 | |
- namespace swift { class ClangNode; } // lines 64-64 | |
- namespace swift { class ConstructorDecl; } // lines 66-66 | |
- namespace swift { class DefaultArgumentInitializer; } // lines 69-69 | |
- namespace swift { class DocComment; } // lines 115-115 | |
- namespace swift { class ExtensionDecl; } // lines 72-72 | |
- namespace swift { class FunctionType; } // lines 89-89 | |
- namespace swift { class GenericContext; } // lines 75-75 | |
- namespace swift { class Identifier; } // lines 92-92 | |
- namespace swift { class InFlightDiagnostic; } // lines 76-76 | |
- namespace swift { class InheritedNameSet; } // lines 93-93 | |
- namespace swift { class PatternBindingDecl; } // lines 82-82 | |
- namespace swift { class PatternBindingInitializer; } // lines 83-83 | |
- namespace swift { class SILBoxType; } // lines 116-116 | |
- namespace swift { class SpecializedProtocolConformance; } // lines 102-102 | |
- namespace swift { class SubstitutableType; } // lines 110-110 | |
- namespace swift { class TupleType; } // lines 88-88 | |
- namespace swift { class TupleTypeElt; } // lines 107-107 | |
- namespace swift { class Type; } // lines 86-86 | |
- namespace swift { class TypeAliasDecl; } // lines 118-118 | |
- namespace swift { class TypeVariableType; } // lines 87-87 | |
- namespace swift { class UnifiedStatsReporter; } // lines 120-120 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ASTContext.h: | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include <functional> // for function | |
#include <memory> // for unique_ptr | |
#include <new> // for operator new | |
#include <utility> // for pair | |
#include <vector> // for vector | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator | |
#include "new" // for operator new | |
#include "swift/AST/Evaluator.h" // for ArrayRef, Evaluator | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature, Generi... | |
#include "swift/AST/Identifier.h" // for Identifier, DeclName (ptr o... | |
#include "swift/AST/KnownDecls.def" // lines 491-491 | |
#include "swift/AST/KnownFoundationEntities.def" // lines 160-160 | |
#include "swift/AST/KnownIdentifiers.def" // lines 276-276 | |
#include "swift/AST/KnownObjCTypes.def" // lines 486-486 | |
#include "swift/AST/KnownStdlibTypes.def" // lines 463-463 | |
#include "swift/AST/Type.h" // for CanType, Type, ForeignLanguage | |
#include "swift/AST/Types.h" // for AnyFunctionType, ArchetypeT... | |
#include "swift/Basic/LLVM.h" // for MutableArrayRef, SmallVecto... | |
#include "swift/Basic/LangOptions.h" // for LangOptions, TypeCheckerOpt... | |
#include "swift/Basic/Malloc.h" // for AlignedAlloc | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Unifi... | |
#include "tuple" // for tuple | |
#include "type_traits" // for remove_reference, forward | |
namespace clang { class Decl; } // lines 47-47 | |
namespace clang { class Type; } | |
namespace llvm { class LLVMContext; } // lines 54-54 | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class TinyPtrVector; } | |
namespace swift { class ASTContext; } // lines 59-59 | |
namespace swift { class AbstractFunctionDecl; } // lines 58-58 | |
namespace swift { class AvailabilityContext; } // lines 61-61 | |
namespace swift { class ClangModuleLoader; } // lines 63-63 | |
namespace swift { class ClassDecl; } | |
namespace swift { class ConcreteDeclRef; } // lines 65-65 | |
namespace swift { class Decl; } // lines 67-67 | |
namespace swift { class DeclContext; } // lines 68-68 | |
namespace swift { class DerivativeAttr; } // lines 70-70 | |
namespace swift { class DiagnosticEngine; } // lines 113-113 | |
namespace swift { class DifferentiableAttr; } // lines 71-71 | |
namespace swift { class EnumElementDecl; } // lines 108-108 | |
namespace swift { class ForeignRepresentationInfo; } // lines 73-73 | |
namespace swift { class FuncDecl; } // lines 74-74 | |
namespace swift { class GenericSignatureBuilder; } // lines 90-90 | |
namespace swift { class IndexSubset; } // lines 121-121 | |
namespace swift { class InheritedProtocolConformance; } // lines 100-100 | |
namespace swift { class IterableDeclContext; } // lines 77-77 | |
namespace swift { class LazyContextData; } // lines 78-78 | |
namespace swift { class LazyIterableDeclContextData; } // lines 79-79 | |
namespace swift { class LazyMemberLoader; } // lines 80-80 | |
namespace swift { class ModuleDecl; } // lines 94-94 | |
namespace swift { class ModuleDependencies; } // lines 81-81 | |
namespace swift { class ModuleDependenciesCache; } // lines 95-95 | |
namespace swift { class ModuleLoader; } // lines 96-96 | |
namespace swift { class NominalTypeDecl; } // lines 97-97 | |
namespace swift { class NormalProtocolConformance; } // lines 98-98 | |
namespace swift { class OpaqueTypeDecl; } // lines 99-99 | |
namespace swift { class Pattern; } // lines 104-104 | |
namespace swift { class PrecedenceGroupDecl; } // lines 106-106 | |
namespace swift { class ProtocolConformance; } | |
namespace swift { class ProtocolDecl; } // lines 109-109 | |
namespace swift { class SILLayout; } // lines 197-197 | |
namespace swift { class SILTransform; } // lines 117-117 | |
namespace swift { class SearchPathOptions; } | |
namespace swift { class SelfProtocolConformance; } // lines 101-101 | |
namespace swift { class SourceFile; } // lines 84-84 | |
namespace swift { class SourceLoc; } // lines 85-85 | |
namespace swift { class SourceManager; } // lines 111-111 | |
namespace swift { class SubstitutionMap; } | |
namespace swift { class TangentSpace; } | |
namespace swift { class ValueDecl; } // lines 112-112 | |
namespace swift { class VarDecl; } // lines 119-119 | |
namespace swift { namespace namelookup { class ImportCache; } } // lines 128-128 | |
namespace swift { namespace syntax { class SyntaxArena; } } // lines 132-132 | |
namespace swift { struct ASTContext::Implementation; } // lines 221-221 | |
namespace swift { struct AutoDiffConfig; } | |
namespace swift { struct AutoDiffDerivativeFunctionKind; } | |
namespace swift { struct InterfaceSubContextDelegate; } // lines 123-123 | |
namespace swift { struct RawComment; } // lines 114-114 | |
namespace swift { struct SILAutoDiffDerivativeFunctionKey; } // lines 122-122 | |
namespace swift { template <typename T> struct Located; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTContext.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for size_t, memcpy | |
#include "array" // for array | |
#include "clang/AST/Type.h" // for FunctionType, Type | |
#include "cstdint" // for uintptr_t | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "iterator" // for end | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSet, Folding... | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/PointerEmbeddedInt.h" // for PointerEmbeddedInt | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair, Den... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, Point... | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallV... | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Alignment.h" // for alignAddr, Align | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/MathExtras.h" // for alignTo | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for SemanticsAttr, Decl... | |
#include "swift/AST/AttrKind.h" // for Associativity, Asso... | |
#include "swift/AST/AutoDiff.h" // for SILAutoDiffDerivati... | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, Iterab... | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint | |
#include "swift/AST/LookupKinds.h" // for NL_OnlyTypes, NLKind | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, operat... | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOptions::... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_... | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Witness.h" // for Witness | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator|= | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/UUID.h" // for UUID, DenseMapInfo | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/lib/AST/ASTContext.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsSema.h" // lines 24-24 | |
- #include "swift/AST/NameLookup.h" // lines 37-37 | |
- #include "swift/AST/SourceFile.h" // lines 43-43 | |
- #include "swift/Basic/SourceManager.h" // lines 48-48 | |
- #include "swift/Basic/StringExtras.h" // lines 50-50 | |
- #include "swift/Syntax/References.h" // lines 51-51 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTContext.cpp: | |
#include "swift/AST/ASTContext.h" | |
#include <assert.h> // for assert | |
#include <string.h> // for size_t, memcpy | |
#include <algorithm> // for any_of, count_if, max | |
#include <memory> // for unique_ptr, uniniti... | |
#include "ClangTypeConverter.h" // for ClangTypeConverter | |
#include "ForeignRepresentationInfo.h" // for ForeignRepresentati... | |
#include "SubstitutionMapStorage.h" // for SubstitutionMap::St... | |
#include "array" // for array | |
#include "clang/AST/Type.h" // for FunctionType, Type | |
#include "cstdint" // for uintptr_t | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "iterator" // for end | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, capacity_... | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSet, Folding... | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/PointerEmbeddedInt.h" // for PointerEmbeddedInt | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair, Den... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, Point... | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallV... | |
#include "llvm/ADT/Statistic.h" // for STATISTIC, Statistic | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMa... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/LLVMContext.h" // for LLVMContext | |
#include "llvm/Support/Alignment.h" // for alignAddr, Align | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/MathExtras.h" // for alignTo | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for SemanticsAttr, Decl... | |
#include "swift/AST/AttrKind.h" // for Associativity, Asso... | |
#include "swift/AST/AutoDiff.h" // for SILAutoDiffDerivati... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, Iterab... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout | |
#include "swift/AST/FileUnit.h" // for BuiltinUnit | |
#include "swift/AST/ForeignErrorConvention.h" // for ForeignErrorConvention | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/GenericSignatureBuilder.h" // for GenericSignatureBui... | |
#include "swift/AST/ImportCache.h" // for ImportCache | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/KnownDecls.def" // for ASTContext::getAllo... | |
#include "swift/AST/KnownDecls.def" // for ASTContext::getAllo... | |
#include "swift/AST/KnownFoundationEntities.def" // for KnownFoundationEnti... | |
#include "swift/AST/KnownFoundationEntities.def" // for KnownFoundationEnti... | |
#include "swift/AST/KnownIdentifiers.def" // lines 594-594 | |
#include "swift/AST/KnownObjCTypes.def" // for ASTContext::getNSEr... | |
#include "swift/AST/KnownObjCTypes.def" // for ASTContext::getNSEr... | |
#include "swift/AST/KnownProtocols.def" // lines 87-87 | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/KnownStdlibTypes.def" // for ASTContext::getArra... | |
#include "swift/AST/KnownStdlibTypes.def" // for ASTContext::getArra... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint | |
#include "swift/AST/LazyResolver.h" // for LazyIterableDeclCon... | |
#include "swift/AST/LookupKinds.h" // for NL_OnlyTypes, NLKind | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ModuleDependencies.h" // for ModuleDependencies | |
#include "swift/AST/ModuleLoader.h" // for ModuleLoader, Inter... | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceDecl | |
#include "swift/AST/PropertyWrappers.h" // for PropertyWrapperBack... | |
#include "swift/AST/ProtocolConformance.h" // for SpecializedProtocol... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/ReferenceStorage.def" // lines 2758-2758 | |
#include "swift/AST/Requirement.h" // for Requirement, operat... | |
#include "swift/AST/SILLayout.h" // for SILLayout, SILField | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOptions::... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeCheckRequests.h" // for AbstractGenericSign... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Witness.h" // for Witness | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Compiler.h" // for SWIFT_COMPILER_IS_MSVC | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator|= | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/Statistic.h" // for FrontendStatsTracer | |
#include "swift/Basic/UUID.h" // for UUID, DenseMapInfo | |
#include "swift/ClangImporter/BuiltinMappedTypes.def" // lines 4098-4098 | |
#include "swift/ClangImporter/SIMDMappedTypes.def" // lines 4146-4146 | |
#include "swift/ClangImporter/SIMDMappedTypes.def" // lines 4191-4191 | |
#include "swift/Strings.h" // for BUILTIN_NAME, STDLI... | |
#include "swift/Subsystems.h" // for registerAccessReque... | |
#include "swift/Syntax/SyntaxArena.h" // for SyntaxArena | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTMangler.h should add these lines: | |
#include <assert.h> // for assert | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/AST/AutoDiff.h" // for AutoDiffConfig (ptr only) | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Demangling/ManglingUtils.h" // for StringRef | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace swift { class AbstractStorageDecl; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ConstructorDecl; } | |
namespace swift { class DeclContext; } | |
namespace swift { class DestructorDecl; } | |
namespace swift { class FuncDecl; } | |
namespace swift { class GenericTypeDecl; } | |
namespace swift { class Identifier; } | |
namespace swift { class ModuleDecl; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class OpaqueTypeDecl; } | |
namespace swift { class ProtocolConformance; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class Requirement; } | |
namespace swift { class SerializedAbstractClosureExpr; } | |
namespace swift { class SubstitutionMap; } | |
namespace swift { class TypeDecl; } | |
namespace swift { class ValueDecl; } | |
namespace swift { class VarDecl; } | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTMangler.h should remove these lines: | |
- #include "swift/AST/Decl.h" // lines 18-18 | |
- namespace swift { class ConformanceAccessPath; } // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ASTMangler.h: | |
#include <assert.h> // for assert | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/AST/AutoDiff.h" // for AutoDiffConfig (ptr only) | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/AST/Types.h" // for DependentMemberType (p... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Mangler.h" // for Mangler | |
#include "swift/Demangling/ManglingUtils.h" // for StringRef | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace clang { class NamedDecl; } // lines 21-21 | |
namespace swift { class AbstractClosureExpr; } // lines 26-26 | |
namespace swift { class AbstractStorageDecl; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ConstructorDecl; } | |
namespace swift { class DeclContext; } | |
namespace swift { class DestructorDecl; } | |
namespace swift { class FuncDecl; } | |
namespace swift { class GenericTypeDecl; } | |
namespace swift { class Identifier; } | |
namespace swift { class ModuleDecl; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class OpaqueTypeDecl; } | |
namespace swift { class ProtocolConformance; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class Requirement; } | |
namespace swift { class RootProtocolConformance; } // lines 28-28 | |
namespace swift { class SerializedAbstractClosureExpr; } | |
namespace swift { class SubstitutionMap; } | |
namespace swift { class TypeDecl; } | |
namespace swift { class ValueDecl; } | |
namespace swift { class VarDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTMangler.cpp should add these lines: | |
#include "algorithm" // for find_if | |
#include "clang/AST/Attrs.inc" // for AsmLabelAttr | |
#include "clang/AST/DeclBase.h" // for DeclContext, Decl | |
#include "clang/AST/DeclarationName.h" // for DeclarationName | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "swift/AST/Attr.h" // for DeclAttributes, ClangI... | |
#include "swift/AST/AttrKind.h" // for UnaryOperatorKind, Una... | |
#include "swift/AST/Decl.h" // for ValueDecl, GenericType... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclConte... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for AbstractClosureExpr | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/Pattern.h" // for AnyPattern (ptr only) | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Demangling/Demangle.h" // for Node, Node::Kind, mang... | |
#include "swift/Demangling/Punycode.h" // for swift | |
#include "type_traits" // for move, remove_reference... | |
/Users/varun/foss-swift/swift/lib/AST/ASTMangler.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 38-38 | |
- #include "llvm/ADT/DenseMap.h" // lines 42-42 | |
- #include "llvm/Support/CommandLine.h" // lines 48-48 | |
- #include "swift/AST/LazyResolver.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTMangler.cpp: | |
#include "swift/AST/ASTMangler.h" | |
#include "algorithm" // for find_if | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/Attrs.inc" // for AsmLabelAttr | |
#include "clang/AST/Decl.h" // for NamedDecl, TagDecl | |
#include "clang/AST/DeclBase.h" // for DeclContext, Decl | |
#include "clang/AST/DeclObjC.h" // for ObjCProtocolDecl, ObjC... | |
#include "clang/AST/DeclarationName.h" // for DeclarationName | |
#include "clang/AST/Mangle.h" // for MangleContext | |
#include "clang/Basic/CharInfo.h" // for isDigit | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svect... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTVisitor.h" // for ASTVisitor | |
#include "swift/AST/Attr.h" // for DeclAttributes, ClangI... | |
#include "swift/AST/AttrKind.h" // for UnaryOperatorKind, Una... | |
#include "swift/AST/Decl.h" // for ValueDecl, GenericType... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclConte... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout, Exi... | |
#include "swift/AST/Expr.h" // for AbstractClosureExpr | |
#include "swift/AST/FileUnit.h" // for FileUnit, BuiltinUnit | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/Initializer.h" // for DefaultArgumentInitial... | |
#include "swift/AST/Module.h" // for ModuleDecl, FileUnitKind | |
#include "swift/AST/Ownership.h" // for manglingOf, ValueOwner... | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for AnyPattern (ptr only) | |
#include "swift/AST/PatternNodes.def" // lines 1836-1836 | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceType | |
#include "swift/AST/ProtocolConformance.h" // for RootProtocolConformance | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ReferenceStorage.def" // lines 1064-1064 | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Demangling/Demangle.h" // for Node, Node::Kind, mang... | |
#include "swift/Demangling/Demangler.h" // for Demangler | |
#include "swift/Demangling/ManglingMacros.h" // for MANGLING_PREFIX_STR | |
#include "swift/Demangling/ManglingUtils.h" // for StringRef, isNonAscii | |
#include "swift/Demangling/Punycode.h" // for swift | |
#include "swift/Strings.h" // for MANGLING_MODULE_CLANG_... | |
#include "type_traits" // for move, remove_reference... | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTNode.h should add these lines: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTNode.h should remove these lines: | |
- #include "swift/AST/TypeAlignments.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ASTNode.h: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
namespace llvm { class raw_ostream; } // lines 25-25 | |
namespace swift { class ASTWalker; } // lines 37-37 | |
namespace swift { class Decl; } // lines 31-31 | |
namespace swift { class DeclContext; } // lines 34-34 | |
namespace swift { class Expr; } // lines 29-29 | |
namespace swift { class Pattern; } // lines 32-32 | |
namespace swift { class SourceLoc; } // lines 35-35 | |
namespace swift { class SourceRange; } // lines 36-36 | |
namespace swift { class Stmt; } // lines 30-30 | |
namespace swift { class TypeLoc; } // lines 33-33 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTNode.cpp should add these lines: | |
#include "llvm/Support/Casting.h" // for isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for isa, cast | |
/Users/varun/foss-swift/swift/lib/AST/ASTNode.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTNode.cpp: | |
#include "swift/AST/ASTNode.h" | |
#include "llvm/Support/Casting.h" // for isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/Decl.h" // for Decl, DeclContext::classof | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Expr.h" // for Expr, AbstractClosureExpr | |
#include "swift/AST/Pattern.h" // for Pattern, PatternKind | |
#include "swift/AST/Stmt.h" // for Stmt, StmtKind | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for isa, cast | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTPrinter.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/AST/TypeOrExtensionDecl.h" // for TypeOrExtensionDecl | |
#include "type_traits" // for enable_if, is_same | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class QuotedString; } | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTPrinter.h should remove these lines: | |
- #include "llvm/Support/raw_ostream.h" // lines 23-23 | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
- #include "swift/Basic/QuotedString.h" // lines 17-17 | |
- namespace swift { class DynamicSelfType; } // lines 29-29 | |
- namespace swift { class NominalTypeDecl; } // lines 37-37 | |
- namespace swift { class Pattern; } // lines 35-35 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ASTPrinter.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/AST/Identifier.h" // for Identifier (ptr only) | |
#include "swift/AST/PrintOptions.h" // for BracketOptions, PrintOptions | |
#include "swift/AST/TypeOrExtensionDecl.h" // for TypeOrExtensionDecl | |
#include "swift/Basic/UUID.h" // for UUID | |
#include "type_traits" // for enable_if, is_same | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class Decl; } // lines 27-27 | |
namespace swift { class DeclContext; } // lines 28-28 | |
namespace swift { class EnumElementDecl; } // lines 32-32 | |
namespace swift { class ExtensionDecl; } // lines 36-36 | |
namespace swift { class ModuleEntity; } // lines 30-30 | |
namespace swift { class QuotedString; } | |
namespace swift { class SourceLoc; } // lines 39-39 | |
namespace swift { class Type; } // lines 33-33 | |
namespace swift { class TypeDecl; } // lines 31-31 | |
namespace swift { class TypeLoc; } // lines 34-34 | |
namespace swift { class ValueDecl; } // lines 38-38 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTPrinter.cpp should add these lines: | |
#include "clang/AST/Attrs.inc" // for SwiftPrivateAttr | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/RawCommentList.h" // for RawComment | |
#include "clang/Basic/SourceManager.h" // for SourceManager | |
#include "functional" // for function, __base | |
#include "iterator" // for next | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for is_contained, function... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, repo... | |
#include "memory" // for make_shared, shared_ptr | |
#include "string" // for basic_string | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/AttrKind.h" // for AccessLevel, Associati... | |
#include "swift/AST/AutoDiff.h" // for DifferentiabilityKind | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/DefaultArgumentKind.h" // for DefaultArgumentKind | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Gene... | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintInfo | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/Pattern.h" // for Pattern, NamedPattern | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment, SingleRawC... | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, StorageI... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, staticCastHelper | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for SimpleIdentTypeRepr | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
/Users/varun/foss-swift/swift/lib/AST/ASTPrinter.cpp should remove these lines: | |
- #include <queue> // lines 56-56 | |
- #include "clang/AST/Attr.h" // lines 46-46 | |
- #include "clang/AST/Decl.h" // lines 47-47 | |
- #include "swift/AST/ASTMangler.h" // lines 19-19 | |
- #include "swift/AST/ClangModuleLoader.h" // lines 22-22 | |
- #include "swift/AST/NameLookup.h" // lines 29-29 | |
- #include "swift/AST/TypeWalker.h" // lines 35-35 | |
- #include "swift/Config.h" // lines 42-42 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTPrinter.cpp: | |
#include "swift/AST/ASTPrinter.h" | |
#include <algorithm> // for max, find, for_each, sort | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/Attrs.inc" // for SwiftPrivateAttr | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/DeclObjC.h" // for ObjCMethodDecl, ObjCPr... | |
#include "clang/AST/RawCommentList.h" // for RawComment | |
#include "clang/Basic/Module.h" // for Module | |
#include "clang/Basic/SourceManager.h" // for SourceManager | |
#include "functional" // for function, __base | |
#include "iterator" // for next | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for is_contained, function... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ConvertUTF.h" // for UTF8, getNumBytesForUTF8 | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, repo... | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs, raw... | |
#include "memory" // for make_shared, shared_ptr | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTVisitor.h" // for ASTVisitor, ConsumingAttr | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.def" // lines 1011-1011 | |
#include "swift/AST/Attr.h" // for DeclAttributes, Synthe... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, Associati... | |
#include "swift/AST/AutoDiff.h" // for DifferentiabilityKind | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Comment.h" // for getDocCommentProviding... | |
#include "swift/AST/Decl.h" // for VarDecl, ExtensionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/DeclNodes.def" // lines 852-852 | |
#include "swift/AST/DefaultArgumentKind.h" // for DefaultArgumentKind | |
#include "swift/AST/Expr.h" // for CheckedCastKind, Liter... | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Gene... | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintInfo | |
#include "swift/AST/Module.h" // for ModuleDecl, ModuleEntity | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern, NamedPattern | |
#include "swift/AST/PrintOptions.h" // for PrintOptions, AnyAttrKind | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment, SingleRawC... | |
#include "swift/AST/ReferenceStorage.def" // lines 4507-4507 | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/Stmt.h" // for BraceStmt, CaseStmt | |
#include "swift/AST/StmtNodes.def" // lines 855-855 | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, StorageI... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, staticCastHelper | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for SimpleIdentTypeRepr | |
#include "swift/AST/TypeVisitor.h" // for TypeVisitor | |
#include "swift/AST/Types.h" // for TypeBase, SILFunctionType | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/PrimitiveParsing.h" // for trimLeadingWhitespaceF... | |
#include "swift/Basic/QuotedString.h" // for operator<<, QuotedString | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/STLExtras.h" // for interleave, OptionalTr... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/StringExtras.h" // for canBeArgumentLabel | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Strings.h" // for BuiltinNameStringLiteral | |
#include "swift/Syntax/TokenKinds.def" // lines 391-391 | |
#include "swift/Syntax/TokenKinds.def" // lines 403-403 | |
#include "swift/Syntax/TokenKinds.def" // lines 425-425 | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTScope.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for DeclAttribute (ptr only) | |
#include "swift/AST/Decl.h" // for Decl (ptr only), GenericPara... | |
#include "swift/AST/Expr.h" // for Expr (ptr only), ClosureExpr | |
#include "swift/AST/Stmt.h" // for Stmt (ptr only), LabeledCond... | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "tuple" // for tuple | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class ASTContext; } | |
namespace swift { class DeclContext; } | |
namespace swift { class DeclNameRef; } | |
namespace swift { class IterableDeclContext; } | |
namespace swift { class Pattern; } | |
namespace swift { class SourceFile; } | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTScope.h should remove these lines: | |
- #include "llvm/ADT/PointerIntPair.h" // lines 39-39 | |
- #include "swift/AST/SimpleRequest.h" // lines 33-33 | |
- #include "swift/Basic/Compiler.h" // lines 34-34 | |
- #include "swift/Basic/LLVM.h" // lines 36-36 | |
- namespace swift { class DeclName; } // lines 79-79 | |
- namespace swift { class GenericContext; } // lines 78-78 | |
- namespace swift { class GenericParamList; } // lines 73-73 | |
- namespace swift { class PatternBindingEntry; } // lines 76-76 | |
- namespace swift { class SpecializeAttr; } // lines 77-77 | |
- namespace swift { class StmtConditionElement; } // lines 80-80 | |
- namespace swift { class TrailingWhereClause; } // lines 74-74 | |
- namespace swift { namespace ast_scope { class TypeAliasScope; } } // lines 86-86 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ASTScope.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/Attr.h" // for DeclAttribute (ptr only) | |
#include "swift/AST/Decl.h" // for Decl (ptr only), GenericPara... | |
#include "swift/AST/DeclNodes.def" // lines 59-59 | |
#include "swift/AST/Expr.h" // for Expr (ptr only), ClosureExpr | |
#include "swift/AST/ExprNodes.def" // lines 64-64 | |
#include "swift/AST/NameLookup.h" // for DeclVisibilityKind, Abstract... | |
#include "swift/AST/Stmt.h" // for Stmt (ptr only), LabeledCond... | |
#include "swift/AST/StmtNodes.def" // lines 69-69 | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "tuple" // for tuple | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class ASTContext; } | |
namespace swift { class DeclContext; } | |
namespace swift { class DeclNameRef; } | |
namespace swift { class IterableDeclContext; } | |
namespace swift { class ParameterList; } // lines 75-75 | |
namespace swift { class Pattern; } | |
namespace swift { class SourceFile; } | |
namespace swift { namespace ast_scope { class ASTScopeImpl; } } // lines 83-83 | |
namespace swift { namespace ast_scope { class GenericTypeOrExtensionScope; } } // lines 84-84 | |
namespace swift { namespace ast_scope { class IterableTypeScope; } } // lines 85-85 | |
namespace swift { namespace ast_scope { class ScopeCreator; } } // lines 87-87 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTScope.cpp should add these lines: | |
#include <memory> // for allocator | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Identifier.h" // for DeclNameRef | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/Compiler.h" // for SWIFT_COMPILER_IS_MSVC | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, UnifiedS... | |
#include "type_traits" // for remove_reference<>::type | |
namespace llvm { class raw_ostream; } | |
namespace swift { class Pattern; } | |
/Users/varun/foss-swift/swift/lib/AST/ASTScope.cpp should remove these lines: | |
- #include <algorithm> // lines 34-34 | |
- #include "llvm/Support/Compiler.h" // lines 33-33 | |
- #include "swift/AST/ASTWalker.h" // lines 19-19 | |
- #include "swift/AST/LazyResolver.h" // lines 23-23 | |
- #include "swift/AST/Module.h" // lines 24-24 | |
- #include "swift/AST/ParameterList.h" // lines 26-26 | |
- #include "swift/AST/Pattern.h" // lines 27-27 | |
- #include "swift/AST/TypeRepr.h" // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTScope.cpp: | |
#include "swift/AST/ASTScope.h" | |
#include <memory> // for allocator | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for VarDecl, AbstractFunctionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Expr.h" // for CaptureListExpr, ClosureExpr | |
#include "swift/AST/Identifier.h" // for DeclNameRef | |
#include "swift/AST/Initializer.h" // for Initializer | |
#include "swift/AST/NameLookup.h" // for ASTScope, AbstractASTScopeDecl... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for LabeledConditionalStmt, StmtCo... | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/Compiler.h" // for SWIFT_COMPILER_IS_MSVC | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, UnifiedS... | |
#include "type_traits" // for remove_reference<>::type | |
namespace llvm { class raw_ostream; } | |
namespace swift { class Pattern; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopeCreation.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include "functional" // for __base | |
#include "iterator" // for back_insert_iterator, back... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapPair | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref, any_of, copy_if | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorTemplateCommon | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTVisitor.h" // for ASTVisitor | |
#include "swift/AST/DeclContext.h" // for DeclContext, IterableDeclC... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Evaluat... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/NameLookup.h" // for ASTScope, DeclVisibilityKind | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/Range.h" // for range, indices, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Unif... | |
#include "tuple" // for get | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class TypeLoc; } | |
namespace swift { class TypeRepr; } | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopeCreation.cpp should remove these lines: | |
- #include <unordered_set> // lines 36-36 | |
- #include "swift/AST/LazyResolver.h" // lines 24-24 | |
- #include "swift/AST/TypeRepr.h" // lines 31-31 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTScopeCreation.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include <algorithm> // for stable_sort | |
#include "functional" // for __base | |
#include "iterator" // for back_insert_iterator, back... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapPair | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref, any_of, copy_if | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorTemplateCommon | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_USED | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTScope.h" // for ASTScopeImpl, PatternEntry... | |
#include "swift/AST/ASTVisitor.h" // for ASTVisitor | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/Attr.h" // for DifferentiableAttr, Specia... | |
#include "swift/AST/Decl.h" // for PatternBindingDecl, VarDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, IterableDeclC... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Evaluat... | |
#include "swift/AST/Expr.h" // for ClosureExpr, CaptureListExpr | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/Initializer.h" // for Initializer | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/NameLookup.h" // for ASTScope, DeclVisibilityKind | |
#include "swift/AST/NameLookupRequests.h" // for ExpandASTScopeRequest | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern, AnyPattern, BoolP... | |
#include "swift/AST/PatternNodes.def" // lines 174-174 | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for BraceStmt, CaseStmt, StmtC... | |
#include "swift/AST/StmtNodes.def" // lines 169-169 | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/Range.h" // for range, indices, IntRange | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Unif... | |
#include "tuple" // for get | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class TypeLoc; } | |
namespace swift { class TypeRepr; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopeLookup.cpp should add these lines: | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast_or_null, isa | |
#include "llvm/Support/ErrorHandling.h" // for report_fatal_error | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclContextKind | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for DeclNameRef | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast_or_null, isa | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for move, remove_reference<>::type | |
#include "utility" // for make_pair, pair | |
namespace swift { namespace ast_scope { class ScopeCreator; } } | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopeLookup.cpp should remove these lines: | |
- #include "llvm/Support/Compiler.h" // lines 32-32 | |
- #include "swift/AST/LazyResolver.h" // lines 23-23 | |
- #include "swift/AST/Module.h" // lines 24-24 | |
- #include "swift/AST/TypeRepr.h" // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTScopeLookup.cpp: | |
#include <stddef.h> // for size_t | |
#include <algorithm> // for lower_bound | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast_or_null, isa | |
#include "llvm/Support/ErrorHandling.h" // for report_fatal_error | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTScope.h" // for ASTScopeImpl, ASTScopeImpl::... | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/Decl.h" // for AbstractFunctionDecl, Abstra... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclContextKind | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for ClosureExpr, CaptureListEntry | |
#include "swift/AST/Identifier.h" // for DeclNameRef | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/Initializer.h" // for PatternBindingInitializer | |
#include "swift/AST/NameLookup.h" // for AbstractASTScopeDeclConsumer | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for BraceStmt, CaseLabelItem | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast_or_null, isa | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/STLExtras.h" // for up_cast | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for move, remove_reference<>::type | |
#include "utility" // for make_pair, pair | |
namespace swift { namespace ast_scope { class ScopeCreator; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopePrinting.cpp should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorTemplateCommon | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/NameLookup.h" // for ASTScopeDeclGatherer | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for remove_reference<>::type, ena... | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopePrinting.cpp should remove these lines: | |
- #include <algorithm> // lines 32-32 | |
- #include "llvm/Support/Compiler.h" // lines 31-31 | |
- #include "swift/AST/ASTContext.h" // lines 18-18 | |
- #include "swift/AST/ASTWalker.h" // lines 19-19 | |
- #include "swift/AST/Expr.h" // lines 21-21 | |
- #include "swift/AST/Initializer.h" // lines 22-22 | |
- #include "swift/AST/LazyResolver.h" // lines 23-23 | |
- #include "swift/AST/Module.h" // lines 24-24 | |
- #include "swift/AST/ParameterList.h" // lines 25-25 | |
- #include "swift/AST/Stmt.h" // lines 28-28 | |
- #include "swift/AST/TypeRepr.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTScopePrinting.cpp: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorTemplateCommon | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "swift/AST/ASTScope.h" // for ASTScopeImpl, ASTScopeImpl::C... | |
#include "swift/AST/Decl.h" // for VarDecl, AbstractFunctionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/NameLookup.h" // for ASTScopeDeclGatherer | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for remove_reference<>::type, ena... | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopeSourceRange.cpp should add these lines: | |
#include <stdlib.h> // for abort | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTempl... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!= | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/Attr.h" // for DifferentiableAttr, Specializ... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc, CharS... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Token.h" // for Token | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "tuple" // for get, tuple | |
#include "type_traits" // for move, remove_reference<>::type | |
#include "utility" // for pair | |
namespace swift { namespace ast_scope { class ScopeCreator; } } | |
/Users/varun/foss-swift/swift/lib/AST/ASTScopeSourceRange.cpp should remove these lines: | |
- #include <algorithm> // lines 33-33 | |
- #include "llvm/Support/Compiler.h" // lines 32-32 | |
- #include "swift/AST/ASTWalker.h" // lines 19-19 | |
- #include "swift/AST/Initializer.h" // lines 22-22 | |
- #include "swift/AST/LazyResolver.h" // lines 23-23 | |
- #include "swift/AST/Module.h" // lines 24-24 | |
- #include "swift/Basic/STLExtras.h" // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTScopeSourceRange.cpp: | |
#include <stdlib.h> // for abort | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTempl... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!= | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTScope.h" // for ASTScopeImpl, ASTScopeImpl::C... | |
#include "swift/AST/Attr.h" // for DifferentiableAttr, Specializ... | |
#include "swift/AST/Decl.h" // for ExtensionDecl, FuncDecl, Prot... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for ClosureExpr, Expr, CaptureLis... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for BraceStmt, ForEachStmt, Stmt | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc, CharS... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Lexer.h" // for Lexer, Lexer::StringSegment | |
#include "swift/Parse/Token.h" // for Token | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "tuple" // for get, tuple | |
#include "type_traits" // for move, remove_reference<>::type | |
#include "utility" // for pair | |
namespace swift { namespace ast_scope { class ScopeCreator; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTVerifier.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for abort, size_t | |
#include "algorithm" // for find_if | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for DenseMapInfo, PointerI... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for is_contained, function... | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrS... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/Attr.h" // for DeclAttributes, Option... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLev... | |
#include "swift/AST/AutoDiff.h" // for GenericSignature | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/Identifier.h" // for Identifier, operator<< | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, WriteImp... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, operator<<, CanType | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/Types.h" // for TypeBase, FunctionType | |
#include "swift/AST/Witness.h" // for Witness, TypeWitnessAn... | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/STLExtras.h" // for for_each | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/AST/ASTVerifier.cpp should remove these lines: | |
- #include <functional> // lines 41-41 | |
- #include "llvm/ADT/SmallString.h" // lines 38-38 | |
- #include "llvm/Support/Debug.h" // lines 39-39 | |
- #include "swift/AST/ForeignErrorConvention.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTVerifier.cpp: | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for abort, size_t | |
#include <type_traits> // for remove_reference<>::type | |
#include "algorithm" // for find_if | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for DenseMapInfo, PointerI... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for is_contained, function... | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrS... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ASTWalker::ParentTy | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.h" // for DeclAttributes, Option... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLev... | |
#include "swift/AST/AutoDiff.h" // for GenericSignature | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/Decl.h" // for ValueDecl, AbstractFun... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/DeclNodes.def" // lines 71-71 | |
#include "swift/AST/DeclNodes.def" // lines 346-346 | |
#include "swift/AST/DeclNodes.def" // lines 358-358 | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout, Exi... | |
#include "swift/AST/Expr.h" // for ExprKind, Expr, Abstra... | |
#include "swift/AST/ExprNodes.def" // lines 56-56 | |
#include "swift/AST/ExprNodes.def" // lines 266-266 | |
#include "swift/AST/ExprNodes.def" // lines 284-284 | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Gene... | |
#include "swift/AST/Identifier.h" // for Identifier, operator<< | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/Initializer.h" // for Initializer | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/Module.h" // for ModuleDecl, FileUnitKind | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for PatternKind, Pattern | |
#include "swift/AST/PatternNodes.def" // lines 78-78 | |
#include "swift/AST/PatternNodes.def" // lines 321-321 | |
#include "swift/AST/PatternNodes.def" // lines 334-334 | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceExpr | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolConformance | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/SourceFile.h" // for SourceFile, SourceFile... | |
#include "swift/AST/Stmt.h" // for StmtKind, Stmt, ForEac... | |
#include "swift/AST/StmtNodes.def" // lines 63-63 | |
#include "swift/AST/StmtNodes.def" // lines 296-296 | |
#include "swift/AST/StmtNodes.def" // lines 308-308 | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, WriteImp... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, operator<<, CanType | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/AST/Types.h" // for TypeBase, FunctionType | |
#include "swift/AST/Witness.h" // for Witness, TypeWitnessAn... | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/STLExtras.h" // for for_each | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Subsystems.h" // for verify, shouldVerify | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTWalker.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/Optional.h" // for Optional | |
/Users/varun/foss-swift/swift/include/swift/AST/ASTWalker.h should remove these lines: | |
- #include "llvm/ADT/PointerUnion.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ASTWalker.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <utility> // for pair | |
#include "llvm/ADT/Optional.h" // for Optional | |
namespace swift { class ClosureExpr; } // lines 23-23 | |
namespace swift { class Decl; } // lines 21-21 | |
namespace swift { class Expr; } // lines 22-22 | |
namespace swift { class ModuleDecl; } // lines 24-24 | |
namespace swift { class ParameterList; } // lines 29-29 | |
namespace swift { class Pattern; } // lines 26-26 | |
namespace swift { class Stmt; } // lines 25-25 | |
namespace swift { class TypeLoc; } // lines 28-28 | |
namespace swift { class TypeRepr; } // lines 27-27 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ASTWalker.cpp should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast_or_null | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/Decl.h" // for AbstractStorageDecl, Pattern... | |
#include "swift/AST/DeclContext.h" // for DeclRange, DeclContext | |
#include "swift/AST/Expr.h" // for KeyPathExpr, KeyPathExpr::Co... | |
#include "swift/AST/Pattern.h" // for EnumElementPattern, ExprPattern | |
#include "swift/AST/Stmt.h" // for BraceStmt, ForEachStmt, Case... | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for DictionaryTypeRepr, Function... | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast_or_null | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/AST/ASTWalker.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ASTWalker.cpp: | |
#include "swift/AST/ASTWalker.h" | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast_or_null | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTVisitor.h" // for ASTVisitor, ASTVisitor::visi... | |
#include "swift/AST/Decl.h" // for AbstractStorageDecl, Pattern... | |
#include "swift/AST/DeclContext.h" // for DeclRange, DeclContext | |
#include "swift/AST/Expr.h" // for KeyPathExpr, KeyPathExpr::Co... | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for EnumElementPattern, ExprPattern | |
#include "swift/AST/PatternNodes.def" // lines 1180-1180 | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceDecl | |
#include "swift/AST/Stmt.h" // for BraceStmt, ForEachStmt, Case... | |
#include "swift/AST/StmtNodes.def" // lines 1177-1177 | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for DictionaryTypeRepr, Function... | |
#include "swift/AST/TypeReprNodes.def" // lines 1183-1183 | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast_or_null | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Attr.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t, uint8_t | |
#include "iterator" // for forward_iterator_tag | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for any_of | |
#include "llvm/ADT/iterator_range.h" // for make_range, iterator_ra... | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_READNONE, LLVM_REA... | |
#include "swift/AST/Decl.h" // for Decl (ptr only), Abstra... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeAlignments.h" // for AttrAlignInBits | |
#include "swift/Basic/LLVM.h" // for Optional | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "type_traits" // for move | |
namespace llvm { class raw_ostream; } | |
namespace swift { class Expr; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { class IndexSubset; } | |
namespace swift { class TypeRepr; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Attr.h should remove these lines: | |
- #include "swift/AST/ConcreteDeclRef.h" // lines 32-32 | |
- #include "swift/AST/Requirement.h" // lines 37-37 | |
- namespace swift { class AbstractFunctionDecl; } // lines 51-51 | |
- namespace swift { class ClassDecl; } // lines 53-53 | |
- namespace swift { class Decl; } // lines 50-50 | |
- namespace swift { class DeclAttributes; } // lines 232-232 | |
- namespace swift { class FuncDecl; } // lines 52-52 | |
- namespace swift { class GenericFunctionType; } // lines 54-54 | |
- namespace swift { class TrailingWhereClause; } // lines 58-58 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Attr.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t, uint8_t | |
#include "iterator" // for forward_iterator_tag | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for any_of | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/iterator_range.h" // for make_range, iterator_ra... | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_READNONE, LLVM_REA... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects, Traili... | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "swift/AST/Attr.def" // lines 510-510 | |
#include "swift/AST/Attr.def" // lines 589-589 | |
#include "swift/AST/AttrKind.h" // for DeclAttrKind, TypeAttrKind | |
#include "swift/AST/AutoDiff.h" // for ParsedAutoDiffParameter... | |
#include "swift/AST/Decl.h" // for Decl (ptr only), Abstra... | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/DeclNodes.def" // lines 329-329 | |
#include "swift/AST/DeclNodes.def" // lines 338-338 | |
#include "swift/AST/DeclNodes.def" // lines 344-344 | |
#include "swift/AST/DeclNodes.def" // lines 350-350 | |
#include "swift/AST/DeclNodes.def" // lines 358-358 | |
#include "swift/AST/DeclNodes.def" // lines 364-364 | |
#include "swift/AST/DeclNodes.def" // lines 369-369 | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for ObjCSelector, DeclNameRef | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, NumK... | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership, Num... | |
#include "swift/AST/PlatformKind.h" // for PlatformKind, platformS... | |
#include "swift/AST/ReferenceStorage.def" // lines 172-172 | |
#include "swift/AST/ReferenceStorage.def" // lines 179-179 | |
#include "swift/AST/TrailingCallArguments.h" // for TrailingCallArguments | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeAlignments.h" // for AttrAlignInBits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMPER | |
#include "swift/Basic/InlineBitfield.h" // for SWIFT_INLINE_BITFIELD | |
#include "swift/Basic/LLVM.h" // for Optional | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptimizationMode.h" // for OptimizationMode, NumOp... | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/Range.h" // for make_range | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/UUID.h" // for UUID | |
#include "swift/Basic/Version.h" // for Version | |
#include "type_traits" // for move | |
namespace llvm { class raw_ostream; } | |
namespace swift { class ASTContext; } // lines 48-48 | |
namespace swift { class ASTPrinter; } // lines 47-47 | |
namespace swift { class Expr; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { class IndexSubset; } | |
namespace swift { class LazyConformanceLoader; } // lines 55-55 | |
namespace swift { class LazyMemberLoader; } // lines 56-56 | |
namespace swift { class PatternBindingInitializer; } // lines 57-57 | |
namespace swift { class TypeRepr; } | |
namespace swift { struct PrintOptions; } // lines 49-49 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Attr.cpp should add these lines: | |
#include <string.h> // for memcpy, size_t | |
#include "algorithm" // for copy | |
#include "functional" // for function, __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/AttrKind.h" // for DeclAttribute::isOptionSet... | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/Requirement.h" // for Requirement, RequirementKind | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/AST/Attr.cpp should remove these lines: | |
- #include "swift/AST/LazyResolver.h" // lines 24-24 | |
- #include "swift/AST/Module.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Attr.cpp: | |
#include "swift/AST/Attr.h" | |
#include <string.h> // for memcpy, size_t | |
#include "algorithm" // for copy | |
#include "functional" // for function, __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_string_ostream, raw_os... | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTPrinter.h" // for ASTPrinter, StreamPrinter | |
#include "swift/AST/Attr.def" // lines 41-41 | |
#include "swift/AST/Attr.def" // lines 51-51 | |
#include "swift/AST/Attr.def" // lines 57-57 | |
#include "swift/AST/Attr.def" // lines 63-63 | |
#include "swift/AST/Attr.def" // lines 69-69 | |
#include "swift/AST/Attr.def" // lines 107-107 | |
#include "swift/AST/Attr.def" // lines 116-116 | |
#include "swift/AST/Attr.def" // lines 134-134 | |
#include "swift/AST/Attr.def" // lines 784-784 | |
#include "swift/AST/Attr.def" // lines 1082-1082 | |
#include "swift/AST/Attr.def" // lines 1116-1116 | |
#include "swift/AST/Attr.def" // lines 1128-1128 | |
#include "swift/AST/AttrKind.h" // for DeclAttribute::isOptionSet... | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for AbstractFunctionDecl, Decl... | |
#include "swift/AST/DeclNodes.def" // lines 147-147 | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/Expr.h" // for packSingleArgument, Expr | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/Requirement.h" // for Requirement, RequirementKind | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/TypeCheckRequests.h" // for DerivativeAttrOriginalDecl... | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/AST/Types.h" // for TypeBase, ErrorType | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/QuotedString.h" // for operator<<, QuotedString | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/AutoDiff.h should add these lines: | |
#include <assert.h> // for assert | |
#include <memory> // for allocator | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID, FoldingSet... | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/raw_ostream.h" // for outs, raw_ostream (ptr only) | |
#include "string" // for operator+, basic_string | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "system_error" // for error_code | |
#include "utility" // for pair | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class ASTContext; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { class NominalTypeDecl; } | |
/Users/varun/foss-swift/swift/include/swift/AST/AutoDiff.h should remove these lines: | |
- #include "swift/AST/TypeAlignments.h" // lines 26-26 | |
- #include "swift/Basic/Range.h" // lines 27-27 | |
- namespace llvm { template <typename T> struct DenseMapInfo; } // lines 564-564 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/AutoDiff.h: | |
#include <assert.h> // for assert | |
#include <cstdint> // for uint8_t | |
#include <memory> // for allocator | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID, FoldingSet... | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringExtras.h" // for utostr | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Error.h" // for inconvertibleErrorCode, Erro... | |
#include "llvm/Support/raw_ostream.h" // for outs, raw_ostream (ptr only) | |
#include "string" // for operator+, basic_string | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanGeneric... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/Type.h" // for Type, CanType, LookupConform... | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "system_error" // for error_code | |
#include "utility" // for pair | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class ASTContext; } | |
namespace swift { class AnyFunctionType; } // lines 34-34 | |
namespace swift { class GenericEnvironment; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class SILFunctionType; } // lines 36-36 | |
namespace swift { class SourceFile; } // lines 35-35 | |
namespace swift { class TupleType; } // lines 37-37 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/AutoDiff.cpp should add these lines: | |
#include "algorithm" // for reverse | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Decl.h" // for NominalTypeDecl (ptr only) | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, KnownPr... | |
#include "swift/AST/Requirement.h" // for Requirement, RequirementKind | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Range.h" // for IntRange, range, indices | |
#include "type_traits" // for move, enable_if<>::type | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/AST/AutoDiff.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/AutoDiff.cpp: | |
#include "swift/AST/AutoDiff.h" | |
#include "algorithm" // for reverse | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for NominalTypeDecl (ptr only) | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/ImportCache.h" // for getAllImports | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, KnownPr... | |
#include "swift/AST/Module.h" // for ModuleDecl, ModuleDecl::Im... | |
#include "swift/AST/Requirement.h" // for Requirement, RequirementKind | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/TypeCheckRequests.h" // for AbstractGenericSignatureRe... | |
#include "swift/AST/Types.h" // for AnyFunctionType, TypeBase | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Range.h" // for IntRange, range, indices | |
#include "type_traits" // for move, enable_if<>::type | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Availability.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "__functional_base" // for less | |
#include "algorithm" // for max, min | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple, operator< | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace swift { class DeclContext; } | |
/Users/varun/foss-swift/swift/lib/AST/Availability.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Availability.cpp: | |
#include <assert.h> // for assert | |
#include <map> // for map | |
#include "__functional_base" // for less | |
#include "algorithm" // for max, min | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple, operator< | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Attr.h" // for AvailableAttr, DeclAttributes | |
#include "swift/AST/Availability.h" // for AvailabilityContext, VersionR... | |
#include "swift/AST/Decl.h" // for ExtensionDecl, Decl, NominalT... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/PlatformKind.h" // for PlatformKind, inheritsAvailab... | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeWalker.h" // for TypeWalker::Action, TypeWalker | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace swift { class DeclContext; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/AvailabilitySpec.cpp should add these lines: | |
#include <stddef.h> // for size_t | |
#include "llvm/Support/Casting.h" // for cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/VersionTuple.h" // for operator<< | |
#include "swift/AST/PlatformKind.h" // for platformString | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceRange | |
/Users/varun/foss-swift/swift/lib/AST/AvailabilitySpec.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/AvailabilitySpec.cpp: | |
#include <stddef.h> // for size_t | |
#include "llvm/Support/Casting.h" // for cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/VersionTuple.h" // for operator<< | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AvailabilitySpec.h" // for PlatformAgnosticVersionConst... | |
#include "swift/AST/PlatformKind.h" // for platformString | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceRange | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Builtins.h should add these lines: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "type_traits" // for underlying_type<>::type, underlyin... | |
/Users/varun/foss-swift/swift/include/swift/AST/Builtins.h should remove these lines: | |
- #include "llvm/Support/ErrorHandling.h" // lines 26-26 | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Builtins.h: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl (ptr ... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/IR/Attributes.h" // for AttributeList, DenseMapInfo | |
#include "llvm/IR/Intrinsics.h" // for ID | |
#include "swift/AST/Builtins.def" // lines 83-83 | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeNodes.def" // lines 42-42 | |
#include "swift/AST/Types.h" // for TypeKind, TypeKind::BuiltinBridgeO... | |
#include "type_traits" // for underlying_type<>::type, underlyin... | |
namespace swift { class ASTContext; } // lines 34-34 | |
namespace swift { class Identifier; } // lines 35-35 | |
namespace swift { class ValueDecl; } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Builtins.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen | |
#include "algorithm" // for reverse | |
#include "functional" // for function | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for array_lengthof | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/IR/InstrTypes.h" // for ID | |
#include "llvm/IR/IntrinsicEnums.inc" // for sadd_with_overflow | |
#include "llvm/Support/AtomicOrdering.h" // for AtomicOrdering, Atomic... | |
#include "llvm/Support/Casting.h" // for isa, cast, dyn_cast | |
#include "llvm/Support/Compiler.h" // for llvm | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svect... | |
#include "string.h" // for strchr | |
#include "swift/AST/Attr.h" // for RethrowsAttr, DeclAttr... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLev... | |
#include "swift/AST/AutoDiff.h" // for getBuiltinDifferentiab... | |
#include "swift/AST/Decl.h" // for FuncDecl, ValueDecl (p... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, operator== | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_dis... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for cast, isa, swift | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "vector" // for vector | |
namespace swift { class DeclContext; } | |
/Users/varun/foss-swift/swift/lib/AST/Builtins.cpp should remove these lines: | |
- #include <tuple> // lines 30-30 | |
- #include "llvm/IR/Instructions.h" // lines 27-27 | |
- #include "llvm/Support/ManagedStatic.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Builtins.cpp: | |
#include "swift/AST/Builtins.h" | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen | |
#include "algorithm" // for reverse | |
#include "functional" // for function | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for array_lengthof | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/IR/Attributes.h" // for AttributeList, Attribute | |
#include "llvm/IR/InstrTypes.h" // for ID | |
#include "llvm/IR/IntrinsicEnums.inc" // for sadd_with_overflow | |
#include "llvm/IR/IntrinsicImpl.inc" // for IntrinsicTargetInfo | |
#include "llvm/IR/IntrinsicImpl.inc" // for IntrinsicTargetInfo | |
#include "llvm/IR/Intrinsics.h" // for IITDescriptor::(anonym... | |
#include "llvm/Support/AtomicOrdering.h" // for AtomicOrdering, Atomic... | |
#include "llvm/Support/Casting.h" // for isa, cast, dyn_cast | |
#include "llvm/Support/Compiler.h" // for llvm | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svect... | |
#include "string.h" // for strchr | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Attr.h" // for RethrowsAttr, DeclAttr... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLev... | |
#include "swift/AST/AutoDiff.h" // for getBuiltinDifferentiab... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Builtins.def" // for BuiltinValueKind::Brid... | |
#include "swift/AST/Decl.h" // for FuncDecl, ValueDecl (p... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/FileUnit.h" // for FileUnit, ModuleDecl::... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/Module.h" // for FileUnitKind, FileUnit... | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, operator== | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_dis... | |
#include "swift/AST/TypeCheckRequests.h" // for AbstractGenericSignatu... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for cast, isa, swift | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Strings.h" // for BuiltinNameStringLiteral | |
#include "vector" // for vector | |
namespace swift { class DeclContext; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/CaptureInfo.h should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/None.h" // for None | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> struct DenseMapInfo; } | |
namespace swift { class ASTContext; } | |
/Users/varun/foss-swift/swift/include/swift/AST/CaptureInfo.h should remove these lines: | |
- #include "swift/AST/TypeAlignments.h" // lines 20-20 | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
- namespace swift { class FuncDecl; } // lines 37-37 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/CaptureInfo.h: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, operator== | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/OptionSet.h" // for OptionSet, None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
namespace llvm { class raw_ostream; } // lines 31-31 | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> struct DenseMapInfo; } | |
namespace swift { class ASTContext; } | |
namespace swift { class CapturedValue; } // lines 27-27 | |
namespace swift { class DynamicSelfType; } // lines 115-115 | |
namespace swift { class OpaqueValueExpr; } // lines 38-38 | |
namespace swift { class ValueDecl; } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/CaptureInfo.cpp should add these lines: | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_USED | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible, IsTri... | |
/Users/varun/foss-swift/swift/lib/AST/CaptureInfo.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/CaptureInfo.cpp: | |
#include "swift/AST/CaptureInfo.h" | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_USED | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ValueDecl | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible, IsTri... | |
--- | |
(/Users/varun/foss-swift/swift/include/swift/AST/ClangSwiftTypeCorrespondence.h has correct #includes/fwd-decls) | |
(/Users/varun/foss-swift/swift/lib/AST/ClangSwiftTypeCorrespondence.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/lib/AST/ClangTypeConverter.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "swift/AST/Types.h" // for AnyFunctionType, StructType (ptr ... | |
namespace clang { class ASTContext; } | |
namespace clang { class Decl; } | |
namespace swift { class ASTContext; } | |
namespace swift { class Decl; } | |
namespace swift { class NominalTypeDecl; } | |
/Users/varun/foss-swift/swift/lib/AST/ClangTypeConverter.h should remove these lines: | |
- #include "clang/AST/ASTContext.h" // lines 24-24 | |
- #include "swift/AST/ASTContext.h" // lines 20-20 | |
- #include "swift/AST/ClangModuleLoader.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ClangTypeConverter.h: | |
#include "clang/AST/Type.h" // for QualType, Type (ptr only) | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "swift/AST/Type.h" // for Type, DenseMapInfo | |
#include "swift/AST/TypeVisitor.h" // for TypeVisitor | |
#include "swift/AST/Types.h" // for AnyFunctionType, StructType (ptr ... | |
namespace clang { class ASTContext; } | |
namespace clang { class Decl; } | |
namespace swift { class ASTContext; } | |
namespace swift { class Decl; } | |
namespace swift { class NominalTypeDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ClangTypeConverter.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for memcpy | |
#include "clang/AST/Attrs.inc" // for ObjCRuntimeNameAttr | |
#include "clang/AST/CanonicalType.h" // for CanQual, CanProxy | |
#include "clang/AST/Decl.h" // for TypedefDecl, Typ... | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/DeclObjC.h" // for ObjCInterfaceDecl | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/Basic/IdentifierTable.h" // for IdentifierTable | |
#include "clang/Basic/SourceLocation.h" // for SourceLocation | |
#include "clang/Basic/Specifiers.h" // for CC_C, CallingConv | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, Sma... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast_o... | |
#include "llvm/Support/ErrorHandling.h" // for report_fatal_error | |
#include "swift/AST/Decl.h" // for ClassDecl, Nomin... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LookupKinds.h" // for NLKind, NLKind::... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "type_traits" // for move, conditiona... | |
namespace llvm { struct fltSemantics; } | |
/Users/varun/foss-swift/swift/lib/AST/ClangTypeConverter.cpp should remove these lines: | |
- #include "swift/AST/TypeVisitor.h" // lines 33-33 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ClangTypeConverter.cpp: | |
#include "ClangTypeConverter.h" | |
#include <assert.h> // for assert | |
#include <string.h> // for memcpy | |
#include "clang/AST/ASTContext.h" // for ASTContext, Buil... | |
#include "clang/AST/Attrs.inc" // for ObjCRuntimeNameAttr | |
#include "clang/AST/BuiltinTypes.def" // lines 70-70 | |
#include "clang/AST/CanonicalType.h" // for CanQual, CanProxy | |
#include "clang/AST/Decl.h" // for TypedefDecl, Typ... | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/DeclObjC.h" // for ObjCInterfaceDecl | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/Basic/AArch64SVEACLETypes.def" // lines 82-82 | |
#include "clang/Basic/IdentifierTable.h" // for IdentifierTable | |
#include "clang/Basic/OpenCLExtensionTypes.def" // lines 78-78 | |
#include "clang/Basic/OpenCLImageTypes.def" // lines 74-74 | |
#include "clang/Basic/SourceLocation.h" // for SourceLocation | |
#include "clang/Basic/Specifiers.h" // for CC_C, CallingConv | |
#include "clang/Basic/TargetInfo.h" // for TargetInfo | |
#include "clang/Sema/Sema.h" // for Sema, Sema::Look... | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, Sma... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast_o... | |
#include "llvm/Support/ErrorHandling.h" // for report_fatal_error | |
#include "swift/AST/ASTContext.h" // for ASTContext, Know... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/ClangSwiftTypeCorrespondence.h" // for canImportAsOptional | |
#include "swift/AST/Decl.h" // for ClassDecl, Nomin... | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LookupKinds.h" // for NLKind, NLKind::... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/Type.h" // for Type, CanType, isa | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast_o... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/ClangImporter/BuiltinMappedTypes.def" // lines 322-322 | |
#include "swift/ClangImporter/SIMDMappedTypes.def" // lines 221-221 | |
#include "type_traits" // for move, conditiona... | |
namespace llvm { struct fltSemantics; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ConcreteDeclRef.cpp should add these lines: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/AST/ConcreteDeclRef.cpp should remove these lines: | |
- #include "swift/AST/ASTContext.h" // lines 18-18 | |
- #include "swift/AST/ProtocolConformance.h" // lines 22-22 | |
- #include "swift/AST/Types.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ConcreteDeclRef.cpp: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/Decl.h" // for ValueDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap, Substitutio... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Decl.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t, uint64_t, UIN... | |
#include "algorithm" // for min | |
#include "cstdint" // for uint64_t | |
#include "iosfwd" // for string | |
#include "iterator" // for distance | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, PointerU... | |
#include "llvm/ADT/STLExtras.h" // for function_ref, any_of | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl (ptr o... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast_or... | |
#include "llvm/Support/Compiler.h" // for LLVM_READONLY | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for uninitialized_copy | |
#include "swift/AST/AttrKind.h" // for AccessLevel, Associati... | |
#include "swift/AST/DeclContext.h" // for DeclContext, IterableD... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for Identifier, DeclName | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/PlatformKind.h" // for PlatformKind | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, PointerLikeTypeT... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast_or... | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator| | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "utility" // for pair | |
namespace clang { class Decl; } | |
namespace clang { class MacroInfo; } | |
namespace clang { class Module; } | |
namespace llvm { class VersionTuple; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class Initializer; } | |
namespace swift { class LazyMemberLoader; } | |
namespace swift { class ProtocolConformance; } | |
namespace swift { class Requirement; } | |
namespace swift { class TypeRepr; } | |
namespace swift { struct AutoDiffConfig; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Decl.h should remove these lines: | |
- #include "swift/AST/ConcreteDeclRef.h" // lines 24-24 | |
- #include "swift/Basic/Compiler.h" // lines 37-37 | |
- namespace swift { class AccessorDecl; } // lines 50-50 | |
- namespace swift { class ArchetypeType; } // lines 54-54 | |
- namespace swift { class ConstructorDecl; } // lines 59-59 | |
- namespace swift { class DeclAttributes; } // lines 69-69 | |
- namespace swift { class DestructorDecl; } // lines 60-60 | |
- namespace swift { class DiagnosticEngine; } // lines 61-61 | |
- namespace swift { class DynamicSelfType; } // lines 62-62 | |
- namespace swift { class EnumCaseDecl; } // lines 76-76 | |
- namespace swift { class EnumElementDecl; } // lines 77-77 | |
- namespace swift { class GenericContext; } // lines 70-70 | |
- namespace swift { class GenericSignature; } // lines 71-71 | |
- namespace swift { class GenericTypeParamDecl; } // lines 72-72 | |
- namespace swift { class GenericTypeParamType; } // lines 73-73 | |
- namespace swift { class OpaqueTypeDecl; } // lines 2404-2404 | |
- namespace swift { class OperatorDecl; } // lines 6200-6200 | |
- namespace swift { class ParameterTypeFlags; } // lines 79-79 | |
- namespace swift { class ProtocolDecl; } // lines 85-85 | |
- namespace swift { class ProtocolType; } // lines 86-86 | |
- namespace swift { class SubscriptDecl; } // lines 91-91 | |
- namespace swift { class Type; } // lines 63-63 | |
- namespace swift { class TypeAliasDecl; } // lines 89-89 | |
- namespace swift { class UnboundGenericType; } // lines 92-92 | |
- namespace swift { class ValueDecl; } // lines 93-93 | |
- namespace swift { class VarDecl; } // lines 94-94 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Decl.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t, uint64_t, UIN... | |
#include <type_traits> // for move, enable_if, is_same | |
#include "algorithm" // for min | |
#include "cstdint" // for uint64_t | |
#include "iosfwd" // for string | |
#include "iterator" // for distance | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, PointerU... | |
#include "llvm/ADT/STLExtras.h" // for function_ref, any_of | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl (ptr o... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast_or... | |
#include "llvm/Support/Compiler.h" // for LLVM_READONLY | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for uninitialized_copy | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/AccessorKinds.def" // lines 6507-6507 | |
#include "swift/AST/AccessorKinds.def" // lines 6526-6526 | |
#include "swift/AST/Attr.h" // for DeclAttributes, DeclKi... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, Associati... | |
#include "swift/AST/CaptureInfo.h" // for CaptureInfo, CapturedV... | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/DeclContext.h" // for DeclContext, IterableD... | |
#include "swift/AST/DeclNodes.def" // lines 108-108 | |
#include "swift/AST/DeclNodes.def" // lines 7204-7204 | |
#include "swift/AST/DeclNodes.def" // lines 7517-7517 | |
#include "swift/AST/DeclNodes.def" // lines 7527-7527 | |
#include "swift/AST/DeclNodes.def" // lines 7540-7540 | |
#include "swift/AST/DefaultArgumentKind.h" // for DefaultArgumentKind | |
#include "swift/AST/DiagnosticConsumer.h" // for DiagnosticKind, Diagno... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine (ptr ... | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for Identifier, DeclName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintLoc | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/PlatformKind.h" // for PlatformKind | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, StorageI... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, PointerLikeTypeT... | |
#include "swift/AST/TypeAlignments.h" // for DeclAlignInBits, Point... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeWalker.h" // for TypeWalker, TypeWalker... | |
#include "swift/AST/Types.h" // for GenericTypeParamType (... | |
#include "swift/AST/Witness.h" // for Witness | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP, SWIF... | |
#include "swift/Basic/InlineBitfield.h" // for SWIFT_INLINE_BITFIELD | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast_or... | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator| | |
#include "swift/Basic/OptionalEnum.h" // for OptionalEnum | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "utility" // for pair | |
namespace clang { class Decl; } | |
namespace clang { class MacroInfo; } | |
namespace clang { class Module; } | |
namespace llvm { class VersionTuple; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class ASTContext; } // lines 55-55 | |
namespace swift { class ASTPrinter; } // lines 57-57 | |
namespace swift { class ASTWalker; } // lines 58-58 | |
namespace swift { class ApplyExpr; } // lines 51-51 | |
namespace swift { class AvailabilityContext; } // lines 52-52 | |
namespace swift { class BraceStmt; } // lines 68-68 | |
namespace swift { class ClassDecl::ObjCMethodLookupTable; } // lines 3878-3878 | |
namespace swift { class ConformanceLookupTable; } // lines 3277-3277 | |
namespace swift { class DeclRefExpr; } // lines 65-65 | |
namespace swift { class Expr; } // lines 64-64 | |
namespace swift { class ForeignErrorConvention; } // lines 66-66 | |
namespace swift { class GenericEnvironment; } // lines 53-53 | |
namespace swift { class Initializer; } | |
namespace swift { class LazyMemberLoader; } | |
namespace swift { class LiteralExpr; } // lines 67-67 | |
namespace swift { class MemberLookupTable; } // lines 3276-3276 | |
namespace swift { class ModuleDecl; } // lines 74-74 | |
namespace swift { class NamedPattern; } // lines 75-75 | |
namespace swift { class OpaqueReturnTypeRepr; } // lines 95-95 | |
namespace swift { class ParameterList; } // lines 78-78 | |
namespace swift { class Pattern; } // lines 80-80 | |
namespace swift { class ProtocolConformance; } | |
namespace swift { class Requirement; } | |
namespace swift { class Stmt; } // lines 90-90 | |
namespace swift { class StringLiteralExpr; } // lines 2358-2358 | |
namespace swift { class TypeRepr; } | |
namespace swift { namespace ast_scope { class AbstractPatternEntryScope; } } // lines 98-98 | |
namespace swift { namespace ast_scope { class PatternEntryDeclScope; } } // lines 99-99 | |
namespace swift { namespace ast_scope { class PatternEntryInitializerScope; } } // lines 100-100 | |
namespace swift { struct ASTNode; } // lines 56-56 | |
namespace swift { struct AbstractFunctionDecl::DerivativeFunctionConfigurationList; } // lines 5867-5867 | |
namespace swift { struct AutoDiffConfig; } | |
namespace swift { struct PrintOptions; } // lines 81-81 | |
namespace swift { struct PropertyWrapperBackingPropertyInfo; } // lines 82-82 | |
namespace swift { struct PropertyWrapperMutability; } // lines 84-84 | |
namespace swift { struct PropertyWrapperTypeInfo; } // lines 83-83 | |
namespace swift { struct RawComment; } // lines 87-87 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Decl.cpp should add these lines: | |
#include <string.h> // for memcpy, size_t | |
#include "clang/AST/Attrs.inc" // for SwiftNewtypeAttr, Swif... | |
#include "clang/AST/Decl.h" // for ImportDecl | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/Basic/SourceLocation.h" // for SourceLocation, Source... | |
#include "functional" // for __base | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "new" // for operator new, operator... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/AnyFunctionRef.h" // for AnyFunctionRef, simple... | |
#include "swift/AST/Attr.h" // for DeclAttributes, DeclKi... | |
#include "swift/AST/AutoDiff.h" // for AutoDiffConfig | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/DiagnosticsCommon.def" // for convert_let_to_var | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/RawComment.h" // for BasicDeclLocs, LineColumn | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_dis... | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, AccessSt... | |
#include "swift/AST/TypeOrExtensionDecl.h" // for TypeOrExtensionDecl | |
#include "swift/AST/TypeRepr.h" // for TypeRepr, GenericIdent... | |
#include "swift/AST/TypeResolutionStage.h" // for TypeResolutionStage | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "tuple" // for get | |
#include "type_traits" // for move, remove_reference... | |
#include "vector" // for vector | |
namespace clang { class Module; } | |
namespace clang { class SourceManager; } | |
/Users/varun/foss-swift/swift/lib/AST/Decl.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 62-62 | |
- #include "clang/Basic/CharInfo.h" // lines 61-61 | |
- #include "swift/AST/ASTMangler.h" // lines 32-32 | |
- #include "swift/AST/ExistentialLayout.h" // lines 25-25 | |
- #include "swift/AST/NameLookup.h" // lines 34-34 | |
- #include "swift/AST/SwiftNameTranslation.h" // lines 46-46 | |
- #include "swift/Basic/TypeID.h" // lines 58-58 | |
- #include "swift/Demangling/ManglingMacros.h" // lines 59-59 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Decl.cpp: | |
#include "swift/AST/Decl.h" | |
#include <string.h> // for memcpy, size_t | |
#include <algorithm> // for min, find | |
#include "InlinableText.h" // for extractInlinableText | |
#include "clang/AST/Attrs.inc" // for SwiftNewtypeAttr, Swif... | |
#include "clang/AST/Decl.h" // for ImportDecl | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/DeclObjC.h" // for ObjCInterfaceDecl | |
#include "clang/Basic/SourceLocation.h" // for SourceLocation, Source... | |
#include "clang/Lex/MacroInfo.h" // for MacroInfo, ModuleMacro | |
#include "functional" // for __base | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Statistic.h" // for STATISTIC, Statistic | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svect... | |
#include "new" // for operator new, operator... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext, Allocation... | |
#include "swift/AST/ASTMangler.h" // for ASTMangler | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/AccessRequests.h" // for DefaultAndMaxAccessLev... | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/AccessorKinds.def" // lines 2222-2222 | |
#include "swift/AST/AccessorKinds.def" // lines 5166-5166 | |
#include "swift/AST/AccessorKinds.def" // lines 5189-5189 | |
#include "swift/AST/AccessorKinds.def" // lines 5202-5202 | |
#include "swift/AST/AccessorKinds.def" // lines 8021-8021 | |
#include "swift/AST/AnyFunctionRef.h" // for AnyFunctionRef, simple... | |
#include "swift/AST/Attr.h" // for DeclAttributes, DeclKi... | |
#include "swift/AST/AutoDiff.h" // for AutoDiffConfig | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/DeclNodes.def" // lines 81-81 | |
#include "swift/AST/DeclNodes.def" // lines 134-134 | |
#include "swift/AST/DeclNodes.def" // lines 398-398 | |
#include "swift/AST/DeclNodes.def" // lines 437-437 | |
#include "swift/AST/DeclNodes.def" // lines 512-512 | |
#include "swift/AST/DeclNodes.def" // lines 568-568 | |
#include "swift/AST/DeclNodes.def" // lines 628-628 | |
#include "swift/AST/DeclNodes.def" // lines 7908-7908 | |
#include "swift/AST/DeclNodes.def" // lines 7922-7922 | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InFl... | |
#include "swift/AST/DiagnosticsCommon.def" // for convert_let_to_var | |
#include "swift/AST/DiagnosticsSema.h" // for change_to_mutating | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, None | |
#include "swift/AST/Expr.h" // for Expr, ApplyExpr, Acces... | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/ForeignErrorConvention.h" // for ForeignErrorConvention | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Gene... | |
#include "swift/AST/Initializer.h" // for PatternBindingInitializer | |
#include "swift/AST/KnownProtocols.def" // lines 5062-5062 | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/LazyResolver.h" // for LazyIterableDeclContex... | |
#include "swift/AST/Module.h" // for ModuleDecl, DeclContex... | |
#include "swift/AST/NameLookupRequests.h" // for GetDestructorRequest | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/ParseRequests.h" // for ParseAbstractFunctionB... | |
#include "swift/AST/Pattern.h" // for Pattern, TypedPattern | |
#include "swift/AST/PropertyWrappers.h" // for PropertyWrapperTypeInfo | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/RawComment.h" // for BasicDeclLocs, LineColumn | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_dis... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for CaseStmt, BraceStmt | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, AccessSt... | |
#include "swift/AST/TypeCheckRequests.h" // for StructuralTypeRequest | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeOrExtensionDecl.h" // for TypeOrExtensionDecl | |
#include "swift/AST/TypeRepr.h" // for TypeRepr, GenericIdent... | |
#include "swift/AST/TypeResolutionStage.h" // for TypeResolutionStage | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter | |
#include "swift/Basic/StringExtras.h" // for appendSentenceCase | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "tuple" // for get | |
#include "type_traits" // for move, remove_reference... | |
#include "vector" // for vector | |
namespace clang { class Module; } | |
namespace clang { class SourceManager; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/DeclContext.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for ptrdiff_t, size_t | |
#include <stdint.h> // for uint8_t, uint64_t, uintptr_t | |
#include "iosfwd" // for string | |
#include "iterator" // for forward_iterator_tag | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl (ptr only) | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Compiler.h" // for LLVM_READONLY | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
namespace llvm { template <class To, class From, class SimpleFrom> struct cast_convert_val; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DeclNameRef; } | |
namespace swift { class Identifier; } | |
namespace swift { class ObjCSelector; } | |
/Users/varun/foss-swift/swift/include/swift/AST/DeclContext.h should remove these lines: | |
- #include "llvm/ADT/PointerUnion.h" // lines 32-32 | |
- #include "swift/AST/Identifier.h" // lines 22-22 | |
- #include "swift/Basic/LLVM.h" // lines 27-27 | |
- #include "swift/Basic/STLExtras.h" // lines 28-28 | |
- namespace llvm { class raw_ostream; } // lines 38-38 | |
- namespace swift { class CanType; } // lines 46-46 | |
- namespace swift { class Expr; } // lines 51-51 | |
- namespace swift { class ExtensionDecl; } // lines 50-50 | |
- namespace swift { class GenericTypeParamDecl; } // lines 56-56 | |
- namespace swift { class InfixOperatorDecl; } // lines 58-58 | |
- namespace swift { class Initializer; } // lines 73-73 | |
- namespace swift { class PrecedenceGroupDecl; } // lines 60-60 | |
- namespace swift { class Requirement; } // lines 62-62 | |
- namespace swift { class SerializedAbstractClosureExpr; } // lines 75-75 | |
- namespace swift { class SerializedDefaultArgumentInitializer; } // lines 77-77 | |
- namespace swift { class SerializedPatternBindingInitializer; } // lines 76-76 | |
- namespace swift { class SerializedTopLevelCodeDecl; } // lines 78-78 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/DeclContext.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for ptrdiff_t, size_t | |
#include <stdint.h> // for uint8_t, uint64_t, uintptr_t | |
#include <type_traits> // for enable_if, is_same | |
#include "iosfwd" // for string | |
#include "iterator" // for forward_iterator_tag | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerEmbeddedInt.h" // for PointerEmbeddedInt | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl (ptr only) | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Compiler.h" // for LLVM_READONLY | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/LookupKinds.h" // for NLOptions | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/TypeAlignments.h" // for DeclContextAlignInBits | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMPER | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
namespace llvm { template <class To, class From, class SimpleFrom> struct cast_convert_val; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class ASTContext; } // lines 44-44 | |
namespace swift { class ASTWalker; } // lines 45-45 | |
namespace swift { class AbstractFunctionDecl; } // lines 42-42 | |
namespace swift { class ClassDecl; } // lines 74-74 | |
namespace swift { class Decl; } // lines 47-47 | |
namespace swift { class DeclContext; } // lines 48-48 | |
namespace swift { class DeclNameRef; } | |
namespace swift { class EnumDecl; } // lines 49-49 | |
namespace swift { class GenericContext; } // lines 54-54 | |
namespace swift { class GenericEnvironment; } // lines 43-43 | |
namespace swift { class GenericParamList; } // lines 52-52 | |
namespace swift { class GenericSignature; } // lines 55-55 | |
namespace swift { class GenericTypeDecl; } // lines 66-66 | |
namespace swift { class GenericTypeParamType; } // lines 57-57 | |
namespace swift { class Identifier; } | |
namespace swift { class InfixOperatorLookupResult; } // lines 59-59 | |
namespace swift { class LazyMemberLoader; } // lines 53-53 | |
namespace swift { class ModuleDecl; } // lines 65-65 | |
namespace swift { class NominalTypeDecl; } // lines 67-67 | |
namespace swift { class ObjCSelector; } | |
namespace swift { class PostfixOperatorDecl; } // lines 69-69 | |
namespace swift { class PrecedenceGroupLookupResult; } // lines 68-68 | |
namespace swift { class PrefixOperatorDecl; } // lines 70-70 | |
namespace swift { class ProtocolConformance; } // lines 71-71 | |
namespace swift { class ProtocolDecl; } // lines 61-61 | |
namespace swift { class SourceFile; } // lines 63-63 | |
namespace swift { class StructDecl; } // lines 79-79 | |
namespace swift { class Type; } // lines 64-64 | |
namespace swift { class ValueDecl; } // lines 72-72 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/DeclContext.cpp should add these lines: | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast, dyn_c... | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for DeclAttributes, ObjCAttr | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AlwaysEmitInt... | |
#include "swift/AST/Decl.h" // for ExtensionDecl, NominalType... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Evaluat... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, GenericS... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/Type.h" // for Type, operator<< | |
#include "swift/Basic/Compiler.h" // for SWIFT_CONSTRUCTOR | |
#include "swift/Basic/LLVM.h" // for cast, isa, dyn_cast, dyn_c... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "type_traits" // for integral_constant<>::value | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/AST/DeclContext.cpp should remove these lines: | |
- #include "llvm/ADT/DenseMap.h" // lines 29-29 | |
- #include "llvm/Support/SaveAndRestore.h" // lines 32-32 | |
- #include "swift/AST/ASTWalker.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/DeclContext.cpp: | |
#include "swift/AST/DeclContext.h" | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Statistic.h" // for Statistic, STATISTIC | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast, dyn_c... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.h" // for DeclAttributes, ObjCAttr | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AlwaysEmitInt... | |
#include "swift/AST/Decl.h" // for ExtensionDecl, NominalType... | |
#include "swift/AST/DeclNodes.def" // lines 638-638 | |
#include "swift/AST/DeclNodes.def" // lines 944-944 | |
#include "swift/AST/DeclNodes.def" // lines 957-957 | |
#include "swift/AST/DeclNodes.def" // lines 1172-1172 | |
#include "swift/AST/DeclNodes.def" // lines 1197-1197 | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Evaluat... | |
#include "swift/AST/Expr.h" // for AbstractClosureExpr, Seria... | |
#include "swift/AST/ExprNodes.def" // lines 1181-1181 | |
#include "swift/AST/ExprNodes.def" // lines 1204-1204 | |
#include "swift/AST/FileUnit.h" // for FileUnit, LoadedFile | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, GenericS... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/Initializer.h" // for DefaultArgumentInitializer | |
#include "swift/AST/LazyResolver.h" // for LazyIterableDeclContextData | |
#include "swift/AST/Module.h" // for ModuleDecl, FileUnitKind | |
#include "swift/AST/ParseRequests.h" // for ParseMembersRequest, simpl... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Type.h" // for Type, operator<< | |
#include "swift/AST/TypeCheckRequests.h" // for FragileFunctionKindRequest | |
#include "swift/AST/Types.h" // for GenericTypeParamType, Type... | |
#include "swift/Basic/Compiler.h" // for SWIFT_CONSTRUCTOR | |
#include "swift/Basic/LLVM.h" // for cast, isa, dyn_cast, dyn_c... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Unif... | |
#include "type_traits" // for integral_constant<>::value | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/DiagnosticEngine.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t, uint32_t | |
#include "algorithm" // for remove | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/AST/Identifier.h" // for DeclNameRef, ObjCSelector | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSourceRange | |
#include "type_traits" // for move, enable_if, is_enum | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class TypeRepr; } | |
/Users/varun/foss-swift/swift/include/swift/AST/DiagnosticEngine.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/DiagnosticEngine.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t, uint32_t | |
#include "algorithm" // for remove | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "string" // for basic_string | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/DiagnosticConsumer.h" // for DiagnosticConsumer, Diagno... | |
#include "swift/AST/Identifier.h" // for DeclNameRef, ObjCSelector | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSourceRange | |
#include "type_traits" // for move, enable_if, is_enum | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class Decl; } // lines 29-29 | |
namespace swift { class DeclAttribute; } // lines 30-30 | |
namespace swift { class DiagnosticEngine; } // lines 31-31 | |
namespace swift { class SourceFile; } // lines 34-34 | |
namespace swift { class SourceManager; } // lines 32-32 | |
namespace swift { class TypeRepr; } | |
namespace swift { class ValueDecl; } // lines 33-33 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/DiagnosticEngine.cpp should add these lines: | |
#include <_ctype.h> // for isspace, isalpha, isdigit | |
#include <stddef.h> // for size_t | |
#include "functional" // for __base | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry, StringM... | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/Path.h" // for append | |
#include "new" // for operator delete, operat... | |
#include "swift/AST/Attr.h" // for DeclAttribute | |
#include "swift/AST/DeclContext.h" // for DeclContextKind, DeclCo... | |
#include "swift/AST/DiagnosticsSema.def" // for append_interpolation_st... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Ownership.h" // for operator<< | |
#include "swift/AST/Types.h" // for TypeBase, OpaqueTypeArc... | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa, swift | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/AST/DiagnosticEngine.cpp should remove these lines: | |
- #include "llvm/ADT/Twine.h" // lines 32-32 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 73-73 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 88-88 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 99-99 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 108-108 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 115-115 | |
- #include "swift/Config.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/DiagnosticEngine.cpp: | |
#include "swift/AST/DiagnosticEngine.h" | |
#include <_ctype.h> // for isspace, isalpha, isdigit | |
#include <stddef.h> // for size_t | |
#include "functional" // for __base | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry, StringM... | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/CommandLine.h" // for opt, init | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/Format.h" // for format, format_object | |
#include "llvm/Support/Path.h" // for append | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svecto... | |
#include "new" // for operator delete, operat... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTPrinter.h" // for StreamPrinter | |
#include "swift/AST/Attr.h" // for DeclAttribute | |
#include "swift/AST/Decl.h" // for TypeAliasDecl, ValueDecl | |
#include "swift/AST/DeclContext.h" // for DeclContextKind, DeclCo... | |
#include "swift/AST/DiagnosticSuppression.h" // for DiagnosticSuppression | |
#include "swift/AST/DiagnosticsSema.def" // for append_interpolation_st... | |
#include "swift/AST/EducationalNotes.def" // lines 122-122 | |
#include "swift/AST/EducationalNotes.def" // lines 135-135 | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Module.h" // for ModuleDecl, DeclContext... | |
#include "swift/AST/Ownership.h" // for operator<< | |
#include "swift/AST/Pattern.h" // for operator<< | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/TypeRepr.h" // for operator<< | |
#include "swift/AST/Types.h" // for TypeBase, OpaqueTypeArc... | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa, swift | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/DiagnosticList.cpp should add these lines: | |
#include <stdint.h> // for uint32_t | |
#include "swift/AST/DiagnosticsClangImporter.def" // for DiagID::bridging_h... | |
#include "swift/AST/DiagnosticsCommon.def" // for DiagID::invalid_di... | |
#include "swift/AST/DiagnosticsDriver.def" // for DiagID::cannot_fin... | |
#include "swift/AST/DiagnosticsFrontend.def" // for DiagID::cannot_ass... | |
#include "swift/AST/DiagnosticsIRGen.def" // for DiagID::alignment_... | |
#include "swift/AST/DiagnosticsModuleDiffer.def" // for DiagID::added_invi... | |
#include "swift/AST/DiagnosticsParse.def" // for DiagID::alignment_... | |
#include "swift/AST/DiagnosticsRefactoring.def" // for DiagID::arity_mism... | |
#include "swift/AST/DiagnosticsSIL.def" // for DiagID::arithmetic... | |
#include "swift/AST/DiagnosticsSema.def" // for DiagID::access_con... | |
#include "swift/Basic/LLVM.h" // for swift | |
/Users/varun/foss-swift/swift/lib/AST/DiagnosticList.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsAll.def" // lines 22-22 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 30-30 | |
- #include "swift/AST/DiagnosticsAll.def" // lines 41-41 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/DiagnosticList.cpp: | |
#include <stdint.h> // for uint32_t | |
#include "swift/AST/DiagnosticsClangImporter.def" // for DiagID::bridging_h... | |
#include "swift/AST/DiagnosticsCommon.def" // for DiagID::invalid_di... | |
#include "swift/AST/DiagnosticsCommon.h" // for DiagWithArguments | |
#include "swift/AST/DiagnosticsDriver.def" // for DiagID::cannot_fin... | |
#include "swift/AST/DiagnosticsFrontend.def" // for DiagID::cannot_ass... | |
#include "swift/AST/DiagnosticsIRGen.def" // for DiagID::alignment_... | |
#include "swift/AST/DiagnosticsModuleDiffer.def" // for DiagID::added_invi... | |
#include "swift/AST/DiagnosticsParse.def" // for DiagID::alignment_... | |
#include "swift/AST/DiagnosticsRefactoring.def" // for DiagID::arity_mism... | |
#include "swift/AST/DiagnosticsSIL.def" // for DiagID::arithmetic... | |
#include "swift/AST/DiagnosticsSema.def" // for DiagID::access_con... | |
#include "swift/Basic/LLVM.h" // for swift | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Evaluator.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "cstdint" // for uint8_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVecto... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for make_unique | |
#include "swift/Basic/TypeID.h" // for TypeID, Zone | |
#include "system_error" // for error_code | |
#include "utility" // for pair | |
namespace llvm { template <typename T> class Optional; } | |
namespace swift { class SourceFile; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Evaluator.h should remove these lines: | |
- #include "llvm/ADT/Optional.h" // lines 28-28 | |
- namespace llvm { class raw_ostream; } // lines 38-38 | |
- namespace swift { class UnifiedStatsReporter; } // lines 49-49 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Evaluator.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <string> // for basic_string | |
#include <tuple> // for tuple | |
#include <type_traits> // for enable_if | |
#include <vector> // for vector | |
#include "cstdint" // for uint8_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVecto... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Error.h" // for Expected, Error, ErrorInfo | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceEntry | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for make_unique | |
#include "swift/AST/AnyRequest.h" // for AnyRequest, DenseMapInfo | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyRecorder, Dep... | |
#include "swift/Basic/AnyValue.h" // for AnyValue | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMPER | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter (p... | |
#include "swift/Basic/TypeID.h" // for TypeID, Zone | |
#include "system_error" // for error_code | |
#include "utility" // for pair | |
namespace llvm { template <typename T> class Optional; } | |
namespace swift { class DiagnosticEngine; } // lines 47-47 | |
namespace swift { class Evaluator; } // lines 48-48 | |
namespace swift { class SourceFile; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Evaluator.cpp should add these lines: | |
#include "algorithm" // for find, sort | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref, reverse | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "string" // for basic_string, operator< | |
#include "swift/AST/Identifier.h" // for DeclBaseName | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "type_traits" // for conditional<>::type, enable... | |
#include "vector" // for vector | |
namespace swift { class NominalTypeDecl; } | |
/Users/varun/foss-swift/swift/lib/AST/Evaluator.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Evaluator.cpp: | |
#include "swift/AST/Evaluator.h" | |
#include "algorithm" // for find, sort | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref, reverse | |
#include "llvm/ADT/StringExtras.h" // for printEscapedString | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Debug.h" // for dbgs | |
#include "llvm/Support/FileSystem.h" // for F_Text | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "string" // for basic_string, operator< | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/Identifier.h" // for DeclBaseName | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for conditional<>::type, enable... | |
#include "vector" // for vector | |
namespace swift { class NominalTypeDecl; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Expr.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t, uint64_t | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for uninitialized_copy | |
#include "swift/AST/ASTVisitor.h" // for ExprKind::Arrow, ExprK... | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/Identifier.h" // for DeclNameRef, Identifier | |
#include "swift/AST/Type.h" // for Type, PointerLikeTypeT... | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "type_traits" // for remove_reference<>::type | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class ASTPrinter; } | |
namespace swift { class AbstractFunctionDecl; } | |
namespace swift { struct PrintOptions; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Expr.h should remove these lines: | |
- #include <utility> // lines 33-33 | |
- #include "swift/AST/Availability.h" // lines 29-29 | |
- namespace swift { class ASTWalker; } // lines 56-56 | |
- namespace swift { class ArchetypeType; } // lines 41-41 | |
- namespace swift { class AvailabilitySpec; } // lines 43-43 | |
- namespace swift { class CallExpr; } // lines 66-66 | |
- namespace swift { class CaptureListExpr; } // lines 68-68 | |
- namespace swift { class DeclRefExpr; } // lines 49-49 | |
- namespace swift { class FuncDecl; } // lines 60-60 | |
- namespace swift { class Initializer; } // lines 57-57 | |
- namespace swift { class KeyPathExpr; } // lines 67-67 | |
- namespace swift { class OpaqueValueExpr; } // lines 59-59 | |
- namespace swift { class Stmt; } // lines 54-54 | |
- namespace swift { class SubscriptDecl; } // lines 53-53 | |
- namespace swift { class Type; } // lines 45-45 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Expr.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t, uint64_t | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects, Trail... | |
#include "memory" // for uninitialized_copy | |
#include "swift/AST/ASTVisitor.h" // for ExprKind::Arrow, ExprK... | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/CaptureInfo.h" // for CaptureInfo | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/DeclContext.h" // for SerializedLocalDeclCon... | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/ExprNodes.def" // lines 87-87 | |
#include "swift/AST/FunctionRefKind.h" // for FunctionRefKind, Funct... | |
#include "swift/AST/Identifier.h" // for DeclNameRef, Identifier | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/TrailingCallArguments.h" // for TrailingCallArguments | |
#include "swift/AST/Type.h" // for Type, PointerLikeTypeT... | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/InlineBitfield.h" // for SWIFT_INLINE_BITFIELD | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Syntax/TokenKinds.def" // lines 1183-1183 | |
#include "type_traits" // for remove_reference<>::type | |
namespace llvm { class raw_ostream; } | |
namespace llvm { struct fltSemantics; } // lines 36-36 | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class ASTContext; } // lines 42-42 | |
namespace swift { class ASTPrinter; } | |
namespace swift { class AbstractFunctionDecl; } | |
namespace swift { class BraceStmt; } // lines 55-55 | |
namespace swift { class ConstructorDecl; } // lines 61-61 | |
namespace swift { class Decl; } // lines 48-48 | |
namespace swift { class EnumElementDecl; } // lines 65-65 | |
namespace swift { class IdentTypeRepr; } // lines 44-44 | |
namespace swift { class OpenedArchetypeType; } // lines 50-50 | |
namespace swift { class ParamDecl; } // lines 51-51 | |
namespace swift { class ParameterList; } // lines 64-64 | |
namespace swift { class Pattern; } // lines 52-52 | |
namespace swift { class PatternBindingDecl; } // lines 63-63 | |
namespace swift { class TypeDecl; } // lines 62-62 | |
namespace swift { class TypeRepr; } // lines 46-46 | |
namespace swift { class ValueDecl; } // lines 47-47 | |
namespace swift { class VarDecl; } // lines 58-58 | |
namespace swift { struct PrintOptions; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Expr.cpp should add these lines: | |
#include <_ctype.h> // for isdigit | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Error.h" // for Expected | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/Evaluator.h" // for None, evaluateOrDefault | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/TypeRepr.h" // for SimpleIdentTypeRepr, Compon... | |
#include "swift/AST/Types.h" // for TypeBase, MetatypeType, Tup... | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace clang { class SourceManager; } | |
namespace swift { class SourceManager; } | |
/Users/varun/foss-swift/swift/lib/AST/Expr.cpp should remove these lines: | |
- #include "llvm/ADT/PointerUnion.h" // lines 31-31 | |
- #include "llvm/ADT/SetVector.h" // lines 32-32 | |
- #include "llvm/ADT/Twine.h" // lines 33-33 | |
- #include "swift/AST/AvailabilitySpec.h" // lines 26-26 | |
- #include "swift/AST/PrettyStackTrace.h" // lines 27-27 | |
- #include "swift/AST/TypeLoc.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Expr.cpp: | |
#include "swift/AST/Expr.h" | |
#include <_ctype.h> // for isdigit | |
#include "llvm/ADT/APFloat.h" // for APFloat, APFloatBase::opStatus | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Error.h" // for Expected | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTVisitor.h" // for ExprKind::Call, ExprKind::D... | |
#include "swift/AST/ASTWalker.h" // for ASTWalker, ASTWalker::ParentTy | |
#include "swift/AST/Decl.h" // for TypeDecl, VarDecl, Construc... | |
#include "swift/AST/Evaluator.h" // for None, evaluateOrDefault | |
#include "swift/AST/ExprNodes.def" // lines 39-39 | |
#include "swift/AST/ExprNodes.def" // lines 69-69 | |
#include "swift/AST/ExprNodes.def" // lines 152-152 | |
#include "swift/AST/ExprNodes.def" // lines 165-165 | |
#include "swift/AST/ExprNodes.def" // lines 178-178 | |
#include "swift/AST/ExprNodes.def" // lines 191-191 | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/Stmt.h" // for BraceStmt, ReturnStmt, Stmt... | |
#include "swift/AST/TypeCheckRequests.h" // for CallerSideDefaultArgExprReq... | |
#include "swift/AST/TypeRepr.h" // for SimpleIdentTypeRepr, Compon... | |
#include "swift/AST/Types.h" // for TypeBase, MetatypeType, Tup... | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Front... | |
#include "swift/Basic/Unicode.h" // for isSingleExtendedGraphemeClu... | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "swift/Syntax/TokenKinds.def" // lines 1159-1159 | |
#include "swift/Syntax/TokenKinds.def" // lines 1167-1167 | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace clang { class SourceManager; } | |
namespace swift { class SourceManager; } | |
namespace { template <bool IsOverridden> struct Dispatch; } // lines 91-91 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/FineGrainedDependencies.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string> // for allocator, char_traits | |
#include "__hash_table" // for operator!= | |
#include "cstddef" // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator!= | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBufferRef | |
#include "llvm/Support/YAMLTraits.h" // for IO, Input, operator>> | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, opera... | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind, NodeKind:... | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_refere... | |
#include "unordered_map" // for unordered_map, __ha... | |
#include "unordered_set" // for unordered_set | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace swift { class DiagnosticEngine; } | |
/Users/varun/foss-swift/swift/lib/AST/FineGrainedDependencies.cpp should remove these lines: | |
- #include "llvm/ADT/MapVector.h" // lines 27-27 | |
- #include "llvm/ADT/SetVector.h" // lines 28-28 | |
- #include "llvm/ADT/SmallVector.h" // lines 29-29 | |
- #include "llvm/Support/FileSystem.h" // lines 30-30 | |
- #include "llvm/Support/YAMLParser.h" // lines 32-32 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 18-18 | |
- #include "swift/AST/DiagnosticsCommon.h" // lines 19-19 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 20-20 | |
- #include "swift/Basic/FileSystem.h" // lines 22-22 | |
- #include "swift/Frontend/FrontendOptions.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/FineGrainedDependencies.cpp: | |
#include <assert.h> // for assert | |
#include <stdio.h> // for size_t | |
#include <string> // for allocator, char_traits | |
#include "__hash_table" // for operator!= | |
#include "cstddef" // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator!= | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBufferRef | |
#include "llvm/Support/Path.h" // for filename | |
#include "llvm/Support/YAMLTraits.h" // for IO, Input, operator>> | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, opera... | |
#include "swift/AST/FileSystem.h" // for withOutputFile | |
#include "swift/AST/FineGrainedDependencies.h" // for DependencyKey, Sour... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind, NodeKind:... | |
#include "swift/Demangling/Demangle.h" // for demangleTypeAsString | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_refere... | |
#include "unordered_map" // for unordered_map, __ha... | |
#include "unordered_set" // for unordered_set | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace swift { class DiagnosticEngine; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/FrontendSourceFileDepGraphFactory.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace swift { class Decl; } | |
namespace swift { class DependencyTracker; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class SourceFile; } | |
namespace swift { class ValueDecl; } | |
/Users/varun/foss-swift/swift/include/swift/AST/FrontendSourceFileDepGraphFactory.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/FrontendSourceFileDepGraphFactory.h: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/AST/AbstractSourceFileDepGraphFactory.h" // for AbstractSou... | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace swift { class Decl; } | |
namespace swift { class DependencyTracker; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class SourceFile; } | |
namespace swift { class ValueDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/FrontendSourceFileDepGraphFactory.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "algorithm" // for all_of | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreac... | |
#include "llvm/Support/YAMLTraits.h" // for operator<< | |
#include "llvm/Support/raw_ostream.h" // for raw_pwrite_... | |
#include "string" // for basic_string | |
#include "swift/AST/DeclContext.h" // for DeclRange | |
#include "swift/AST/Evaluator.h" // for Evaluator | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyC... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "type_traits" // for move, remov... | |
#include "unordered_set" // for unordered_set | |
namespace swift { class DiagnosticEngine; } | |
/Users/varun/foss-swift/swift/lib/AST/FrontendSourceFileDepGraphFactory.cpp should remove these lines: | |
- #include "llvm/ADT/MapVector.h" // lines 40-40 | |
- #include "llvm/ADT/SetVector.h" // lines 41-41 | |
- #include "llvm/ADT/SmallVector.h" // lines 42-42 | |
- #include "llvm/Support/Path.h" // lines 44-44 | |
- #include "llvm/Support/YAMLParser.h" // lines 45-45 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 25-25 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 26-26 | |
- #include "swift/AST/Module.h" // lines 30-30 | |
- #include "swift/Basic/FileSystem.h" // lines 35-35 | |
- #include "swift/Demangling/Demangle.h" // lines 38-38 | |
- #include "swift/Frontend/FrontendOptions.h" // lines 39-39 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/FrontendSourceFileDepGraphFactory.cpp: | |
#include "swift/AST/FrontendSourceFileDepGraphFactory.h" | |
#include <assert.h> // for assert | |
#include "algorithm" // for all_of | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreac... | |
#include "llvm/Support/FileSystem.h" // for rename | |
#include "llvm/Support/YAMLTraits.h" // for operator<< | |
#include "llvm/Support/raw_ostream.h" // for raw_pwrite_... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTMangler.h" // for ASTMangler | |
#include "swift/AST/AbstractSourceFileDepGraphFactory.h" // for AbstractSou... | |
#include "swift/AST/Decl.h" // for ExtensionDecl | |
#include "swift/AST/DeclContext.h" // for DeclRange | |
#include "swift/AST/Evaluator.h" // for Evaluator | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyC... | |
#include "swift/AST/ExistentialLayout.h" // for Existential... | |
#include "swift/AST/FileSystem.h" // for withOutputFile | |
#include "swift/AST/FineGrainedDependencies.h" // for DependencyKey | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/ModuleLoader.h" // for DependencyT... | |
#include "swift/AST/NameLookup.h" // for DeclVisibil... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind | |
#include "type_traits" // for move, remov... | |
#include "unordered_set" // for unordered_set | |
namespace swift { class DiagnosticEngine; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/GenericSignature.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "algorithm" // for lower_bound | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArra... | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap, DenseM... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, Pointer... | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/Support/Casting.h" // for isa, cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey, oper... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Lay... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, Requirem... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, CanType, static... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView, ArrayRe... | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for isa, cast | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
namespace llvm { class FoldingSetNodeID; } | |
namespace swift { template <class Type> class CanTypeWrapper; } | |
/Users/varun/foss-swift/swift/lib/AST/GenericSignature.cpp should remove these lines: | |
- #include <functional> // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/GenericSignature.cpp: | |
#include <assert.h> // for assert | |
#include "GenericSignatureBuilderImpl.h" // for GenericSignatureBuild... | |
#include "algorithm" // for lower_bound | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArra... | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap, DenseM... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, Pointer... | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/Support/Casting.h" // for isa, cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ProtocolDecl, TypeDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey, oper... | |
#include "swift/AST/GenericSignature.h" // for GenericSignatureImpl | |
#include "swift/AST/GenericSignatureBuilder.h" // for GenericSignatureBuilder | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Lay... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceGener... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, Requirem... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, CanType, static... | |
#include "swift/AST/Types.h" // for TypeBase, GenericType... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView, ArrayRe... | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for isa, cast | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
namespace llvm { class FoldingSetNodeID; } | |
namespace swift { template <class Type> class CanTypeWrapper; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/GenericSignatureBuilder.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "__functional_base" // for less | |
#include "functional" // for function, __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArra... | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSet, FoldingSe... | |
#include "llvm/ADT/MapVector.h" // for MapVector, MapVector<... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator== | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, Pointer... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector, TinyPt... | |
#include "llvm/ADT/ilist.h" // for iplist, ilist_alloc_t... | |
#include "llvm/ADT/ilist_iterator.h" // for operator!= | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator, ope... | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/Error.h" // for Expected | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjectsBase::... | |
#include "memory" // for unique_ptr, make_unique | |
#include "new" // for operator new, operato... | |
#include "numeric" // for accumulate | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for DeclAttributes, Resta... | |
#include "swift/AST/AutoDiff.h" // for GenericSignature, Dif... | |
#include "swift/AST/Decl.h" // for AssociatedTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/DiagnosticsCommon.def" // for generic_signature_not... | |
#include "swift/AST/DiagnosticsCommon.h" // for Diag | |
#include "swift/AST/Evaluator.h" // for None, evaluateOrDefault | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey, oper... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Gen... | |
#include "swift/AST/Identifier.h" // for Identifier, operator<< | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Lay... | |
#include "swift/AST/LookupKinds.h" // for operator|, NL_OnlyTypes | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for RequirementKind, Requ... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_di... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, staticCastHelper | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeResolutionStage.h" // for TypeResolutionStage | |
#include "swift/AST/Types.h" // for TypeBase, DependentMe... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Basic/STLExtras.h" // for interleave, OptionalT... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for move, remove_referenc... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector, vector<>::ite... | |
namespace llvm { template <typename Fn> class function_ref; } | |
/Users/varun/foss-swift/swift/lib/AST/GenericSignatureBuilder.cpp should remove these lines: | |
- #include "llvm/ADT/GraphTraits.h" // lines 39-39 | |
- #include "llvm/Support/GraphWriter.h" // lines 47-47 | |
- #include "swift/AST/LazyResolver.h" // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/GenericSignatureBuilder.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <algorithm> // for lower_bound, copy | |
#include "GenericSignatureBuilderImpl.h" // for GenericSignatureBuild... | |
#include "__functional_base" // for less | |
#include "functional" // for function, __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArra... | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap, DenseMap | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSet, FoldingSe... | |
#include "llvm/ADT/MapVector.h" // for MapVector, MapVector<... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator== | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, Pointer... | |
#include "llvm/ADT/STLExtras.h" // for function_ref, array_p... | |
#include "llvm/ADT/SetVector.h" // for SmallSetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/Statistic.h" // for Statistic, STATISTIC | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector, TinyPt... | |
#include "llvm/ADT/ilist.h" // for iplist, ilist_alloc_t... | |
#include "llvm/ADT/ilist_iterator.h" // for operator!= | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator, ope... | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/Error.h" // for Expected | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjectsBase::... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "memory" // for unique_ptr, make_unique | |
#include "new" // for operator new, operato... | |
#include "numeric" // for accumulate | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Attr.h" // for DeclAttributes, Resta... | |
#include "swift/AST/AutoDiff.h" // for GenericSignature, Dif... | |
#include "swift/AST/Decl.h" // for AssociatedTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, Diag | |
#include "swift/AST/DiagnosticsCommon.def" // for generic_signature_not... | |
#include "swift/AST/DiagnosticsCommon.h" // for Diag | |
#include "swift/AST/DiagnosticsSema.h" // for redundant_same_type_c... | |
#include "swift/AST/Evaluator.h" // for None, evaluateOrDefault | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout | |
#include "swift/AST/FileUnit.h" // for LoadedFile | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey, oper... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Gen... | |
#include "swift/AST/GenericSignatureBuilder.h" // for GenericSignatureBuilder | |
#include "swift/AST/Identifier.h" // for Identifier, operator<< | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Lay... | |
#include "swift/AST/LookupKinds.h" // for operator|, NL_OnlyTypes | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceGener... | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for RequirementKind, Requ... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_di... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, staticCastHelper | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeCheckRequests.h" // for InheritedTypeRequest | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeMatcher.h" // for CanTypeVisitor::visit... | |
#include "swift/AST/TypeRepr.h" // for TypeRepr, Composition... | |
#include "swift/AST/TypeResolutionStage.h" // for TypeResolutionStage | |
#include "swift/AST/TypeWalker.h" // for TypeWalker::Action | |
#include "swift/AST/Types.h" // for TypeBase, DependentMe... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Basic/STLExtras.h" // for interleave, OptionalT... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter | |
#include "type_traits" // for move, remove_referenc... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector, vector<>::ite... | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace { class AnchorPathCache; } // lines 133-133 | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Identifier.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uintptr_t, uint32_t, intp... | |
#include <string.h> // for size_t, strlen | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/Hashing.h" // for hash_value, hash_code (pt... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_DEPRECATED | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "string.h" // for memchr | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Identifier.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
- namespace llvm { template <typename T> struct PointerLikeTypeTraits; } // lines 381-381 | |
- namespace llvm { template <typename T> struct PointerLikeTypeTraits; } // lines 900-900 | |
- namespace llvm { template <typename T> struct PointerLikeTypeTraits; } // lines 930-930 | |
- namespace llvm { template <typename T> struct PointerLikeTypeTraits; } // lines 961-961 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Identifier.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uintptr_t, uint32_t, intp... | |
#include <string.h> // for size_t, strlen | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID (ptr only) | |
#include "llvm/ADT/Hashing.h" // for hash_value, hash_code (pt... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, operator== | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_DEPRECATED | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects | |
#include "string" // for basic_string | |
#include "string.h" // for memchr | |
#include "swift/AST/ObjCSelectorFamily.def" // lines 788-788 | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/EditorPlaceholder.h" // for isEditorPlaceholder | |
namespace llvm { class raw_ostream; } // lines 28-28 | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> struct PointerLikeTypeTraits; } // lines 225-225 | |
namespace swift { class ASTContext; } // lines 32-32 | |
namespace swift { class DeclName; } // lines 196-196 | |
namespace swift { class DeclNameRef; } // lines 197-197 | |
namespace swift { class ObjCSelector; } // lines 198-198 | |
namespace swift { class ParameterList; } // lines 33-33 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Identifier.cpp should add these lines: | |
#include <stddef.h> // for size_t | |
#include "algorithm" // for min | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "swift/Basic/LLVM.h" // for swift | |
/Users/varun/foss-swift/swift/lib/AST/Identifier.cpp should remove these lines: | |
- #include "llvm/ADT/StringExtras.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Identifier.cpp: | |
#include "swift/AST/Identifier.h" | |
#include <stddef.h> // for size_t | |
#include "algorithm" // for min | |
#include "clang/Basic/CharInfo.h" // for isLowercase | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/ConvertUTF.h" // for convertUTF8Sequence, UTF8 | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs, raw_s... | |
#include "swift/AST/ObjCSelectorFamily.def" // for ObjCSelectorFamily::Alloc | |
#include "swift/Basic/LLVM.h" // for swift | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/IndexSubset.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "iosfwd" // for string | |
#include "iterator" // for distance, forward_iterator_tag | |
#include "llvm/ADT/STLExtras.h" // for all_of | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/iterator_range.h" // for iterator_range, make_range | |
#include "memory" // for uninitialized_fill_n | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/include/swift/AST/IndexSubset.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
- #include "swift/Basic/STLExtras.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/IndexSubset.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "iosfwd" // for string | |
#include "iterator" // for distance, forward_iterator_tag | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID, FoldingSetNode | |
#include "llvm/ADT/STLExtras.h" // for all_of | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/iterator_range.h" // for iterator_range, make_range | |
#include "llvm/Support/raw_ostream.h" // for outs, raw_ostream (ptr only) | |
#include "memory" // for uninitialized_fill_n | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMPER | |
#include "swift/Basic/Range.h" // for make_range | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace swift { class ASTContext; } // lines 31-31 | |
namespace swift { class IndexSubset::iterator; } // lines 154-154 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/IndexSubset.cpp should add these lines: | |
#include "string" // for basic_string | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/STLExtras.h" // for interleave | |
/Users/varun/foss-swift/swift/lib/AST/IndexSubset.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/IndexSubset.cpp: | |
#include "swift/AST/IndexSubset.h" | |
#include "string" // for basic_string | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/STLExtras.h" // for interleave | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/InlinableText.h should add these lines: | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
/Users/varun/foss-swift/swift/lib/AST/InlinableText.h should remove these lines: | |
- #include "llvm/ADT/SmallVector.h" // lines 19-19 | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/InlinableText.h: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class SourceManager; } // lines 22-22 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/InlinableText.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "algorithm" // for sort | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
/Users/varun/foss-swift/swift/lib/AST/InlinableText.cpp should remove these lines: | |
- #include "llvm/ADT/SmallString.h" // lines 21-21 | |
- #include "swift/AST/ASTContext.h" // lines 13-13 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/InlinableText.cpp: | |
#include "InlinableText.h" | |
#include <assert.h> // for assert | |
#include "algorithm" // for sort | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/Decl.h" // for IfConfigDecl, Decl, DeclKind | |
#include "swift/AST/Expr.h" // for Expr | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Lexer.h" // for Lexer | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/LayoutConstraint.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintKind, Layout... | |
#include "swift/Basic/SourceLoc.h" // for SourceRange | |
/Users/varun/foss-swift/swift/lib/AST/LayoutConstraint.cpp should remove these lines: | |
- #include "swift/AST/Decl.h" // lines 18-18 | |
- #include "swift/AST/Types.h" // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/LayoutConstraint.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/ASTContext.h" // for ASTContext, AllocationArena | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintKind, Layout... | |
#include "swift/Basic/SourceLoc.h" // for SourceRange | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Module.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include "__functional_base" // for less | |
#include "algorithm" // for equal | |
#include "iosfwd" // for string | |
#include "iterator" // for forward_iterator_tag | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, operator== | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/Basic/Located.h" // for Located, operator== | |
#include "utility" // for pair, make_pair | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DeclAttributes; } | |
namespace swift { class ModuleDecl; } | |
namespace swift { class SourceFile; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Module.h should remove these lines: | |
- #include "llvm/Support/ErrorHandling.h" // lines 34-34 | |
- #include "llvm/Support/MD5.h" // lines 35-35 | |
- #include "swift/AST/RawComment.h" // lines 24-24 | |
- #include "swift/Basic/Compiler.h" // lines 26-26 | |
- #include "swift/Basic/STLExtras.h" // lines 28-28 | |
- namespace swift { class ASTScope; } // lines 76-76 | |
- namespace swift { class BraceStmt; } // lines 46-46 | |
- namespace swift { class Decl; } // lines 47-47 | |
- namespace swift { class DeclAttribute; } // lines 48-48 | |
- namespace swift { class DeclName; } // lines 53-53 | |
- namespace swift { class EnumElementDecl; } // lines 61-61 | |
- namespace swift { class ExtensionDecl; } // lines 51-51 | |
- namespace swift { class FuncDecl; } // lines 55-55 | |
- namespace swift { class InfixOperatorDecl; } // lines 56-56 | |
- namespace swift { class ModuleLoader; } // lines 59-59 | |
- namespace swift { class NominalTypeDecl; } // lines 60-60 | |
- namespace swift { class OperatorDecl; } // lines 62-62 | |
- namespace swift { class PostfixOperatorDecl; } // lines 63-63 | |
- namespace swift { class PrefixOperatorDecl; } // lines 64-64 | |
- namespace swift { class ProtocolConformance; } // lines 65-65 | |
- namespace swift { class ProtocolDecl; } // lines 66-66 | |
- namespace swift { class SyntaxParsingCache; } // lines 75-75 | |
- namespace swift { class Token; } // lines 68-68 | |
- namespace swift { class TupleType; } // lines 69-69 | |
- namespace swift { class Type; } // lines 70-70 | |
- namespace swift { class TypeDecl; } // lines 49-49 | |
- namespace swift { class TypeRefinementContext; } // lines 71-71 | |
- namespace swift { class ValueDecl; } // lines 72-72 | |
- namespace swift { class VarDecl; } // lines 73-73 | |
- namespace swift { namespace ast_scope { class ASTSourceFileScope; } } // lines 83-83 | |
- namespace swift { namespace syntax { class SourceFileSyntax; } } // lines 80-80 | |
- namespace swift { struct PrintOptions; } // lines 67-67 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Module.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include <set> // for set, operator==, alloc... | |
#include "__functional_base" // for less | |
#include "algorithm" // for equal | |
#include "iosfwd" // for string | |
#include "iterator" // for forward_iterator_tag | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, operator== | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, operator== | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr | |
#include "swift/AST/Decl.h" // for Decl::(anonymous union... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclConte... | |
#include "swift/AST/Identifier.h" // for Identifier, DeclName | |
#include "swift/AST/LookupKinds.h" // for NLKind | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/Basic/Located.h" // for Located, operator== | |
#include "swift/Basic/OptionSet.h" // for OptionSet | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "utility" // for pair, make_pair | |
namespace clang { class Module; } // lines 39-39 | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class ASTContext; } // lines 44-44 | |
namespace swift { class ASTWalker; } // lines 45-45 | |
namespace swift { class DebuggerClient; } // lines 52-52 | |
namespace swift { class DeclAttributes; } | |
namespace swift { class FileUnit; } // lines 54-54 | |
namespace swift { class LinkLibrary; } // lines 57-57 | |
namespace swift { class ModuleDecl; } | |
namespace swift { class OverlayFile; } // lines 192-192 | |
namespace swift { class SourceFile; } | |
namespace swift { class SourceLookupCache; } // lines 77-77 | |
namespace swift { class VisibleDeclConsumer; } // lines 74-74 | |
namespace swift { struct ImplicitImport; } // lines 58-58 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Module.cpp should add these lines: | |
#include "__errc" // for errc, errc::result_out_... | |
#include "__tree" // for operator!= | |
#include "functional" // for __base | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Twine.h" // for Twine, operator+ | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/SourceMgr.h" // for SMDiagnostic | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "llvm/Support/YAMLTraits.h" // for IO, Input, operator>> | |
#include "new" // for operator new, operator ... | |
#include "set" // for set, set<>::iterator | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for SPIAccessControlAttr | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLeve... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InFli... | |
#include "swift/AST/DiagnosticsCommon.def" // for cannot_load_swiftoverla... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Eval... | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyCollector | |
#include "swift/AST/RawComment.h" // for BasicDeclLocs, LineColumn | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/Types.h" // for TypeBase, ProtocolType | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/QuotedString.h" // for printAsQuotedString | |
#include "swift/Basic/STLExtras.h" // for interleave, OptionalTra... | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "swift/Syntax/RawSyntax.h" // for cast | |
#include "system_error" // for error_code, make_error_... | |
#include "tuple" // for get, tie, tuple | |
#include "type_traits" // for move, conditional<>::type | |
#include "vector" // for vector | |
namespace clang { class SourceManager; } | |
namespace swift { struct SourceFile::SourceFileSyntaxInfo; } | |
/Users/varun/foss-swift/swift/lib/AST/Module.cpp should remove these lines: | |
- #include "llvm/ADT/StringExtras.h" // lines 54-54 | |
- #include "swift/AST/ASTMangler.h" // lines 19-19 | |
- #include "swift/AST/GenericEnvironment.h" // lines 28-28 | |
- #include "swift/AST/LazyResolver.h" // lines 30-30 | |
- #include "swift/AST/LinkLibrary.h" // lines 31-31 | |
- #include "swift/AST/ModuleLoader.h" // lines 32-32 | |
- #include "swift/AST/PrintOptions.h" // lines 37-37 | |
- #include "swift/Basic/Compiler.h" // lines 42-42 | |
- #include "swift/Demangling/ManglingMacros.h" // lines 45-45 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Module.cpp: | |
#include "swift/AST/Module.h" | |
#include "__errc" // for errc, errc::result_out_... | |
#include "__tree" // for operator!= | |
#include "clang/Basic/Module.h" // for Module | |
#include "functional" // for __base | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapPair | |
#include "llvm/ADT/DenseSet.h" // for SmallDenseSet | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for copy, count_if, any_of | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector, TinyPtrV... | |
#include "llvm/ADT/Twine.h" // for Twine, operator+ | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MD5.h" // for MD5, MD5::MD5Result | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for filename, stem | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "llvm/Support/SourceMgr.h" // for SMDiagnostic | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "llvm/Support/YAMLTraits.h" // for IO, Input, operator>> | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs, raw_... | |
#include "new" // for operator new, operator ... | |
#include "set" // for set, set<>::iterator | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTPrinter.h" // for ASTPrinter, StreamPrinter | |
#include "swift/AST/ASTWalker.h" // for ASTWalker::ParentTy | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.h" // for SPIAccessControlAttr | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLeve... | |
#include "swift/AST/Builtins.h" // for getBuiltinType, getBuil... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InFli... | |
#include "swift/AST/DiagnosticsCommon.def" // for cannot_load_swiftoverla... | |
#include "swift/AST/DiagnosticsSema.h" // for attr_ApplicationMain_mu... | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Eval... | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyCollector | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout, Exis... | |
#include "swift/AST/FileUnit.h" // for FileUnit, LoadedFile | |
#include "swift/AST/ImportCache.h" // for ImportCache | |
#include "swift/AST/NameLookup.h" // for ASTScope, DeclVisibilit... | |
#include "swift/AST/NameLookupRequests.h" // for OperatorLookupDescriptor | |
#include "swift/AST/ParseRequests.h" // for ParseSourceFileRequest | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceDecl | |
#include "swift/AST/ProtocolConformance.h" // for InheritedProtocolConfor... | |
#include "swift/AST/RawComment.h" // for BasicDeclLocs, LineColumn | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile, SourceFile:... | |
#include "swift/AST/SynthesizedFileUnit.h" // for SynthesizedFileUnit | |
#include "swift/AST/TypeCheckRequests.h" // for SPIGroupsRequest, Mangl... | |
#include "swift/AST/Types.h" // for TypeBase, ProtocolType | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/QuotedString.h" // for printAsQuotedString | |
#include "swift/Basic/STLExtras.h" // for interleave, OptionalTra... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for FrontendStatsTracer | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "swift/Parse/Token.h" // for Token | |
#include "swift/Strings.h" // for SWIFT_ONONE_SUPPORT | |
#include "swift/Syntax/RawSyntax.h" // for cast | |
#include "swift/Syntax/SyntaxNodes.h" // for SourceFileSyntax | |
#include "system_error" // for error_code, make_error_... | |
#include "tuple" // for get, tie, tuple | |
#include "type_traits" // for move, conditional<>::type | |
#include "vector" // for vector | |
namespace clang { class SourceManager; } | |
namespace swift { struct SourceFile::SourceFileSyntaxInfo; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/ModuleDependencies.h should add these lines: | |
#include <sys/types.h> // for int8_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr, make_unique | |
#include "new" // for operator new | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/include/swift/AST/ModuleDependencies.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/ModuleDependencies.h: | |
#include <sys/types.h> // for int8_t | |
#include <string> // for basic_string | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "memory" // for unique_ptr, make_unique | |
#include "new" // for operator new | |
#include "swift/Basic/LLVM.h" // for None | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace swift { class ClangModuleDependenciesCacheImpl; } // lines 30-30 | |
namespace swift { class SourceFile; } // lines 31-31 | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ModuleDependencies.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/AST/ModuleDependencies.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ModuleDependencies.cpp: | |
#include "swift/AST/ModuleDependencies.h" | |
#include <assert.h> // for assert | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "swift/AST/Decl.h" // for ImportDecl, Decl (ptr only) | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/ModuleLoader.cpp should add these lines: | |
#include "__errc" // for errc, errc::no_such_f... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/Path.h" // for append, remove_filename | |
#include "llvm/Support/SwapByteOrder.h" // for sys | |
#include "llvm/Support/VirtualFileSystem.h" // for directory_iterator | |
#include "memory" // for shared_ptr | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for cannot_list_swiftcros... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "system_error" // for error_code, operator!= | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/AST/ModuleLoader.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsCommon.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/ModuleLoader.cpp: | |
#include "__errc" // for errc, errc::no_such_f... | |
#include "clang/Frontend/Utils.h" // for DependencyCollector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/Path.h" // for append, remove_filename | |
#include "llvm/Support/SwapByteOrder.h" // for sys | |
#include "llvm/Support/VirtualFileSystem.h" // for directory_iterator | |
#include "memory" // for shared_ptr | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for cannot_list_swiftcros... | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ModuleLoader.h" // for DependencyTracker | |
#include "swift/Basic/FileTypes.h" // for getExtension, lookupT... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Platform.h" // for getTargetSpecificModu... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "system_error" // for error_code, operator!= | |
#include "type_traits" // for move | |
namespace llvm { class FileCollector; } // lines 27-27 | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/Pattern.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t, uint8_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code (p... | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, operator== | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Identifier.h" // for Identifier, DeclNameRef | |
#include "type_traits" // for remove_reference<>::type | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class DeclContext; } | |
namespace swift { class Stmt; } | |
namespace swift { class TypeRepr; } | |
namespace swift { struct PrintOptions; } | |
/Users/varun/foss-swift/swift/include/swift/AST/Pattern.h should remove these lines: | |
- #include "swift/Basic/OptionSet.h" // lines 30-30 | |
- #include "swift/Basic/type_traits.h" // lines 21-21 | |
- namespace swift { class TypeExpr; } // lines 37-37 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/Pattern.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t, uint8_t | |
#include "PatternNodes.def" // for PatternKind::EnumElement | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code (p... | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, operator== | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/Decl.h" // for EnumElementDecl (ptr only) | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Identifier.h" // for Identifier, DeclNameRef | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/InlineBitfield.h" // for bitmax, SWIFT_INLINE_BITFIELD | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "type_traits" // for remove_reference<>::type | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class ASTContext; } // lines 34-34 | |
namespace swift { class DeclContext; } | |
namespace swift { class Expr; } // lines 35-35 | |
namespace swift { class Stmt; } | |
namespace swift { class TypeRepr; } | |
namespace swift { struct PrintOptions; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Pattern.cpp should add these lines: | |
#include "functional" // for function, __base | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "utility" // for pair | |
namespace clang { class SourceManager; } | |
namespace swift { class ParameterList; } | |
namespace swift { class SourceManager; } | |
namespace swift { class Stmt; } | |
/Users/varun/foss-swift/swift/lib/AST/Pattern.cpp should remove these lines: | |
- #include "llvm/ADT/APFloat.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Pattern.cpp: | |
#include "swift/AST/Pattern.h" | |
#include "functional" // for function, __base | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Expr.h" // for ParenExpr, Expr, CheckedCa... | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/PatternNodes.def" // for PatternKind::Expr, Pattern... | |
#include "swift/AST/PatternNodes.def" // for PatternKind::Expr, Pattern... | |
#include "swift/AST/PatternNodes.def" // for PatternKind::Expr, Pattern... | |
#include "swift/AST/PatternNodes.def" // for PatternKind::Expr, Pattern... | |
#include "swift/AST/PatternNodes.def" // for PatternKind::Expr, Pattern... | |
#include "swift/AST/PatternNodes.def" // for PatternKind::Expr, Pattern... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Fron... | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "utility" // for pair | |
namespace clang { class SourceManager; } | |
namespace swift { class ParameterList; } | |
namespace swift { class SourceManager; } | |
namespace swift { class Stmt; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/PrettyStackTrace.cpp should add these lines: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/AnyFunctionRef.h" // for AnyFunctionRef | |
#include "swift/AST/AutoDiff.h" // for SILDifferentiabilityWitne... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, operator<< | |
#include "swift/AST/Types.h" // for BoundGenericType, Nominal... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
/Users/varun/foss-swift/swift/lib/AST/PrettyStackTrace.cpp should remove these lines: | |
- #include "llvm/Support/MemoryBuffer.h" // lines 32-32 | |
- #include "swift/Basic/SourceManager.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/PrettyStackTrace.cpp: | |
#include "clang/AST/Type.h" // for Type | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AnyFunctionRef.h" // for AnyFunctionRef | |
#include "swift/AST/AutoDiff.h" // for SILDifferentiabilityWitne... | |
#include "swift/AST/Decl.h" // for ValueDecl, AbstractStorag... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Expr.h" // for AbstractClosureExpr, Expr | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Generic... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceTypeRepr | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/Stmt.h" // for Stmt | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, operator<< | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/AST/TypeVisitor.h" // for TypeVisitor | |
#include "swift/AST/Types.h" // for BoundGenericType, Nominal... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/SyntaxASTMap.h should add these lines: | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "swift/Syntax/SyntaxData.h" // for SyntaxData, DenseMapInfo | |
namespace swift { namespace syntax { class Syntax; } } | |
/Users/varun/foss-swift/swift/include/swift/AST/SyntaxASTMap.h should remove these lines: | |
- #include "swift/Syntax/Syntax.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/SyntaxASTMap.h: | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMPER | |
#include "swift/Syntax/SyntaxData.h" // for SyntaxData, DenseMapInfo | |
namespace swift { namespace syntax { class Syntax; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/SyntaxASTMap.cpp should add these lines: | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Syntax/SyntaxArena.h" // for syntax | |
#include "swift/Syntax/SyntaxKind.h" // for SyntaxKind, SyntaxKind::Unknown | |
#include "type_traits" // for conditional<>::type | |
/Users/varun/foss-swift/swift/lib/AST/SyntaxASTMap.cpp should remove these lines: | |
- #include "swift/AST/Stmt.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/SyntaxASTMap.cpp: | |
#include "swift/AST/SyntaxASTMap.h" | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/Decl.h" // for Decl | |
#include "swift/AST/Expr.h" // for Expr | |
#include "swift/AST/TypeAlignments.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Syntax/Syntax.h" // for Syntax | |
#include "swift/Syntax/SyntaxArena.h" // for syntax | |
#include "swift/Syntax/SyntaxKind.h" // for SyntaxKind, SyntaxKind::Unknown | |
#include "type_traits" // for conditional<>::type | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/SILLayout.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "algorithm" // for find | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "new" // for operator new | |
#include "swift/AST/AutoDiff.h" // for CanGenericSignature | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for remove_reference<>::type | |
/Users/varun/foss-swift/swift/lib/AST/SILLayout.cpp should remove these lines: | |
- #include "swift/AST/ASTContext.h" // lines 28-28 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/SILLayout.cpp: | |
#include <assert.h> // for assert | |
#include "algorithm" // for find | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "new" // for operator new | |
#include "swift/AST/AutoDiff.h" // for CanGenericSignature | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature, Pointer... | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for GenericTypeParamType, TypeBase | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "type_traits" // for remove_reference<>::type | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/SubstitutionMap.h should add these lines: | |
#include "llvm/ADT/None.h" // for None | |
#include "swift/AST/Types.h" // for CanTypeWrapper, Substi... | |
#include "swift/Basic/OptionSet.h" // for None | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <class T> struct PointerLikeTypeTraits; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class ValueDecl; } | |
/Users/varun/foss-swift/swift/include/swift/AST/SubstitutionMap.h should remove these lines: | |
- namespace swift { class GenericEnvironment; } // lines 35-35 | |
- namespace swift { class SubstitutableType; } // lines 36-36 | |
- namespace swift { template <class Type> class CanTypeWrapper; } // lines 39-39 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/SubstitutionMap.h: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Type.h" // for SubstOptions, Type | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/AST/Types.h" // for CanTypeWrapper, Substi... | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/OptionSet.h" // for None | |
namespace llvm { class FoldingSetNodeID; } // lines 30-30 | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <class T> struct PointerLikeTypeTraits; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class SubstitutionMap::Storage; } // lines 66-66 | |
namespace swift { class ValueDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/SubstitutionMap.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "algorithm" // for copy | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for isa, cast, dyn_cast | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey | |
#include "swift/AST/Requirement.h" // for Requirement, RequirementKind | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/AST/SubstitutionMap.cpp should remove these lines: | |
- #include "swift/AST/GenericEnvironment.h" // lines 29-29 | |
- #include "swift/AST/LazyResolver.h" // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/SubstitutionMap.cpp: | |
#include "swift/AST/SubstitutionMap.h" | |
#include <assert.h> // for assert | |
#include "SubstitutionMapStorage.h" // for SubstitutionMap::Storage | |
#include "algorithm" // for copy | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for isa, cast, dyn_cast | |
#include "llvm/Support/Debug.h" // for dbgs | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ValueDecl, ClassDecl, Pro... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/GenericParamKey.h" // for GenericParamKey | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance, Norm... | |
#include "swift/AST/Requirement.h" // for Requirement, RequirementKind | |
#include "swift/AST/Types.h" // for TypeBase, GenericTypePara... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/Type.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t, uintptr_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerEmbeddedInt.h" // for PointerEmbeddedInt | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for operator<, StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/Error.h" // for make_error, Expected | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, repo... | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLev... | |
#include "swift/AST/AutoDiff.h" // for TangentSpace, Derivati... | |
#include "swift/AST/DeclContext.h" // for DeclContext, simple_di... | |
#include "swift/AST/Evaluator.h" // for None, evaluateOrDefault | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Layo... | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_dis... | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, CanType, dyn_cast | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/AST/Witness.h" // for TypeWitnessAndDecl | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator& | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/UUID.h" // for UUID | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace llvm { struct fltSemantics; } | |
/Users/varun/foss-swift/swift/lib/AST/Type.cpp should remove these lines: | |
- #include <functional> // lines 43-43 | |
- #include "swift/AST/LazyResolver.h" // lines 28-28 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/Type.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t, uintptr_t | |
#include <algorithm> // for lower_bound, remove | |
#include <iterator> // for back_insert_iterator | |
#include "ForeignRepresentationInfo.h" // for ForeignRepresentationInfo | |
#include "clang/AST/Type.h" // for Type, FunctionType (pt... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/FoldingSet.h" // for FoldingSetNodeID | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerEmbeddedInt.h" // for PointerEmbeddedInt | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for function_ref, array_po... | |
#include "llvm/ADT/SmallBitVector.h" // for SmallBitVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrS... | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for operator<, StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/Error.h" // for make_error, Expected | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, repo... | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext, Allocation... | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLev... | |
#include "swift/AST/AutoDiff.h" // for TangentSpace, Derivati... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/Decl.h" // for ProtocolDecl, NominalT... | |
#include "swift/AST/DeclContext.h" // for DeclContext, simple_di... | |
#include "swift/AST/Evaluator.h" // for None, evaluateOrDefault | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout, Exi... | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/IndexSubset.h" // for IndexSubset | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind, Kno... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Layo... | |
#include "swift/AST/Module.h" // for ModuleDecl, DeclContex... | |
#include "swift/AST/Ownership.h" // for ValueOwnership, ValueO... | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/ProtocolConformance.h" // for TypeSubstitutionMap | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/ReferenceStorage.def" // lines 228-228 | |
#include "swift/AST/ReferenceStorage.def" // lines 549-549 | |
#include "swift/AST/ReferenceStorage.def" // lines 1172-1172 | |
#include "swift/AST/ReferenceStorage.def" // lines 4371-4371 | |
#include "swift/AST/ReferenceStorage.def" // lines 4969-4969 | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILLayout.h" // for SILField, SILLayout | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_dis... | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap, opera... | |
#include "swift/AST/Type.h" // for Type, CanType, dyn_cast | |
#include "swift/AST/TypeCheckRequests.h" // for AbstractGenericSignatu... | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeNodes.def" // lines 50-50 | |
#include "swift/AST/TypeNodes.def" // lines 168-168 | |
#include "swift/AST/TypeNodes.def" // lines 1098-1098 | |
#include "swift/AST/TypeNodes.def" // lines 1110-1110 | |
#include "swift/AST/TypeNodes.def" // lines 1329-1329 | |
#include "swift/AST/TypeNodes.def" // lines 1354-1354 | |
#include "swift/AST/TypeNodes.def" // lines 4223-4223 | |
#include "swift/AST/TypeNodes.def" // lines 4895-4895 | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/AST/TypeVisitor.h" // for TypeKind::GenericFunction | |
#include "swift/AST/TypeWalker.h" // for TypeWalker::Action | |
#include "swift/AST/Types.h" // for TypeBase, TypeKind | |
#include "swift/AST/Witness.h" // for TypeWitnessAndDecl | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator& | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/UUID.h" // for UUID | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
namespace llvm { struct fltSemantics; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/TypeCheckRequests.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMapBase | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, PointerUn... | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl, SmallV... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/Error.h" // for Expected, handleAllErrors | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/Attr.h" // for DeclAttributes, Dynamic... | |
#include "swift/AST/AutoDiff.h" // for GenericSignature | |
#include "swift/AST/DeclContext.h" // for DeclRange, DeclContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for kind_declname_declared_... | |
#include "swift/AST/Evaluator.h" // for None, CyclicalRequestEr... | |
#include "swift/AST/EvaluatorDependencies.h" // for getScopeForAccessLevel | |
#include "swift/AST/Expr.h" // for Expr (ptr only), Defaul... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Point... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/KnownProtocols.h" // for getProtocolName, KnownP... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintLoc | |
#include "swift/AST/Requirement.h" // for Requirement, Requiremen... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for OpaqueReadOwnership | |
#include "swift/AST/Type.h" // for Type, PointerLikeTypeTr... | |
#include "swift/AST/TypeResolutionStage.h" // for TypeResolutionStage | |
#include "swift/AST/Witness.h" // for Witness, TypeWitnessAnd... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, swift | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator| | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SimpleDisplay.h" // for simple_display | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/Statistic.h" // for FrontendStatsTracer | |
#include "swift/Basic/TypeID.h" // for SideEffect | |
#include "tuple" // for get, make_tuple | |
#include "type_traits" // for move, enable_if<>::type | |
#include "vector" // for vector | |
namespace swift { class IndexSubset; } | |
namespace swift { class Initializer; } | |
namespace swift { class NamedPattern; } | |
namespace swift { class TypeResolution; } | |
/Users/varun/foss-swift/swift/lib/AST/TypeCheckRequests.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsCommon.h" // lines 14-14 | |
- #include "swift/AST/Initializer.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/TypeCheckRequests.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMapBase | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, PointerUn... | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl, SmallV... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/Error.h" // for Expected, handleAllErrors | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Attr.h" // for DeclAttributes, Dynamic... | |
#include "swift/AST/AutoDiff.h" // for GenericSignature | |
#include "swift/AST/Decl.h" // for ProtocolDecl, ValueDecl | |
#include "swift/AST/DeclContext.h" // for DeclRange, DeclContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for kind_declname_declared_... | |
#include "swift/AST/DiagnosticsSema.h" // for circular_reference_thro... | |
#include "swift/AST/Evaluator.h" // for None, CyclicalRequestEr... | |
#include "swift/AST/EvaluatorDependencies.h" // for getScopeForAccessLevel | |
#include "swift/AST/Expr.h" // for Expr (ptr only), Defaul... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Point... | |
#include "swift/AST/Identifier.h" // for operator<< | |
#include "swift/AST/KnownProtocols.h" // for getProtocolName, KnownP... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraintLoc | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/NameLookup.h" // for getInheritedTypeLocAtIndex | |
#include "swift/AST/PropertyWrappers.h" // for simple_display, Propert... | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolConformance | |
#include "swift/AST/Requirement.h" // for Requirement, Requiremen... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile, SourceFile:... | |
#include "swift/AST/StorageImpl.h" // for OpaqueReadOwnership | |
#include "swift/AST/Type.h" // for Type, PointerLikeTypeTr... | |
#include "swift/AST/TypeCheckRequests.h" // for WhereClauseOwner, Requi... | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/AST/TypeResolutionStage.h" // for TypeResolutionStage | |
#include "swift/AST/Types.h" // for TypeBase, InOutType | |
#include "swift/AST/Witness.h" // for Witness, TypeWitnessAnd... | |
#include "swift/Basic/ImplementTypeIDZone.h" // lines 34-34 | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, swift | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator| | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SimpleDisplay.h" // for simple_display | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/Statistic.h" // for FrontendStatsTracer | |
#include "swift/Basic/TypeID.h" // for SideEffect | |
#include "swift/Subsystems.h" // for verify | |
#include "tuple" // for get, make_tuple | |
#include "type_traits" // for move, enable_if<>::type | |
#include "vector" // for vector | |
namespace swift { class IndexSubset; } | |
namespace swift { class Initializer; } | |
namespace swift { class NamedPattern; } | |
namespace swift { class TypeResolution; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/AST/TypeDeclFinder.h should add these lines: | |
#include "swift/AST/Type.h" // for Type | |
namespace swift { class TypeDecl; } | |
namespace swift { class TypeRepr; } | |
/Users/varun/foss-swift/swift/include/swift/AST/TypeDeclFinder.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/AST/TypeDeclFinder.h: | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "swift/AST/ASTWalker.h" // for ASTWalker | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeWalker.h" // for TypeWalker::Action, TypeWalker::Ac... | |
namespace swift { class BoundGenericType; } // lines 21-21 | |
namespace swift { class ComponentIdentTypeRepr; } // lines 22-22 | |
namespace swift { class NominalType; } // lines 23-23 | |
namespace swift { class TypeAliasType; } // lines 24-24 | |
namespace swift { class TypeDecl; } | |
namespace swift { class TypeRepr; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/TypeDeclFinder.cpp should add these lines: | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
/Users/varun/foss-swift/swift/lib/AST/TypeDeclFinder.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/TypeDeclFinder.cpp: | |
#include "swift/AST/TypeDeclFinder.h" | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/AST/Decl.h" // for NominalTypeDecl, TypeAliasDecl | |
#include "swift/AST/TypeRepr.h" // for ComponentIdentTypeRepr, TypeRepr | |
#include "swift/AST/Types.h" // for BoundGenericType, NominalType, Typ... | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/TypeJoinMeet.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTemp... | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/AST/TypeJoinMeet.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/TypeJoinMeet.cpp: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTemp... | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/CanTypeVisitor.h" // for CanTypeVisitor | |
#include "swift/AST/Decl.h" // for ProtocolDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Type.h" // for CanType, Type, cast | |
#include "swift/AST/Types.h" // for TypeBase, FunctionType, Prot... | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/TypeRepr.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/Support/Casting.h" // for dyn_cast, dyn_cast_or_null | |
#include "memory" // for uninitialized_copy | |
#include "swift/AST/Attr.h" // for TypeAttributes | |
#include "swift/AST/AttrKind.h" // for TAK_autoclosure, TAK_convention | |
#include "swift/AST/Decl.h" // for TypeDecl, GenericParamList | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Identifier.h" // for DeclNameRef, Identifier | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for dyn_cast, dyn_cast_or_null | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible, IsT... | |
namespace clang { class SourceManager; } | |
namespace llvm { class raw_ostream; } | |
namespace swift { class SourceManager; } | |
/Users/varun/foss-swift/swift/lib/AST/TypeRepr.cpp should remove these lines: | |
- #include "llvm/Support/raw_ostream.h" // lines 28-28 | |
- #include "swift/AST/Expr.h" // lines 21-21 | |
- #include "swift/AST/Types.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/TypeRepr.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/Support/Casting.h" // for dyn_cast, dyn_cast_or_null | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for uninitialized_copy | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTPrinter.h" // for ASTPrinter, PrintStructureKind | |
#include "swift/AST/ASTVisitor.h" // lines 20-20 | |
#include "swift/AST/Attr.h" // for TypeAttributes | |
#include "swift/AST/AttrKind.h" // for TAK_autoclosure, TAK_convention | |
#include "swift/AST/Decl.h" // for TypeDecl, GenericParamList | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Identifier.h" // for DeclNameRef, Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl, ModuleEntity | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeReprKind, TupleTypeRepr | |
#include "swift/AST/TypeReprNodes.def" // lines 34-34 | |
#include "swift/AST/TypeReprNodes.def" // lines 41-41 | |
#include "swift/AST/TypeReprNodes.def" // lines 51-51 | |
#include "swift/AST/TypeReprNodes.def" // lines 60-60 | |
#include "swift/AST/TypeReprNodes.def" // lines 71-71 | |
#include "swift/AST/TypeReprNodes.def" // lines 114-114 | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for dyn_cast, dyn_cast_or_null | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceRange, SourceLoc | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Fronte... | |
#include "swift/Basic/type_traits.h" // for IsTriviallyDestructible, IsT... | |
namespace clang { class SourceManager; } | |
namespace llvm { class raw_ostream; } | |
namespace swift { class SourceManager; } | |
--- | |
(/Users/varun/foss-swift/swift/include/swift/AST/TypeWalker.h has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/lib/AST/TypeWalker.cpp should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Requirement.h" // for RequirementKind, Requirement | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Types.h" // for SILFunctionType, OpaqueTypeA... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
/Users/varun/foss-swift/swift/lib/AST/TypeWalker.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/TypeWalker.cpp: | |
#include "swift/AST/TypeWalker.h" | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Requirement.h" // for RequirementKind, Requirement | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/TypeVisitor.h" // for TypeVisitor | |
#include "swift/AST/Types.h" // for SILFunctionType, OpaqueTypeA... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/UnqualifiedLookup.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for NULL, size_t | |
#include <memory> // for allocator | |
#include "algorithm" // for all_of | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator!= | |
#include "llvm/ADT/STLExtras.h" // for any_of, function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl, SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "string" // for operator+, to_string, basi... | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/Decl.h" // for AbstractFunctionDecl, Exte... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Evaluator.h" // for None, Evaluator (ptr only) | |
#include "swift/AST/Expr.h" // for ClosureExpr, AbstractClosu... | |
#include "swift/AST/Identifier.h" // for DeclNameRef, operator<< | |
#include "swift/AST/LookupKinds.h" // for NLOptions, operator|=, ope... | |
#include "swift/AST/Module.h" // for ModuleDecl, DeclContext::i... | |
#include "swift/AST/Stmt.h" // for BraceStmt | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "type_traits" // for move, enable_if<>::type | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
/Users/varun/foss-swift/swift/lib/AST/UnqualifiedLookup.cpp should remove these lines: | |
- #include "llvm/ADT/DenseMap.h" // lines 35-35 | |
- #include "llvm/Support/Debug.h" // lines 37-37 | |
- #include "swift/AST/ASTVisitor.h" // lines 19-19 | |
- #include "swift/AST/ClangModuleLoader.h" // lines 20-20 | |
- #include "swift/AST/ExistentialLayout.h" // lines 22-22 | |
- #include "swift/AST/LazyResolver.h" // lines 25-25 | |
- #include "swift/AST/ParameterList.h" // lines 29-29 | |
- #include "swift/Basic/STLExtras.h" // lines 32-32 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/UnqualifiedLookup.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for NULL, size_t | |
#include <memory> // for allocator | |
#include "algorithm" // for all_of | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator!= | |
#include "llvm/ADT/STLExtras.h" // for any_of, function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl, SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream, raw_str... | |
#include "string" // for operator+, to_string, basi... | |
#include "swift/AST/ASTContext.h" // for ASTContext, namelookup | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/DebuggerClient.h" // for DebuggerClient | |
#include "swift/AST/Decl.h" // for AbstractFunctionDecl, Exte... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Evaluator.h" // for None, Evaluator (ptr only) | |
#include "swift/AST/Expr.h" // for ClosureExpr, AbstractClosu... | |
#include "swift/AST/Identifier.h" // for DeclNameRef, operator<< | |
#include "swift/AST/ImportCache.h" // for ImportCache | |
#include "swift/AST/Initializer.h" // for PatternBindingInitializer | |
#include "swift/AST/LookupKinds.h" // for NLOptions, operator|=, ope... | |
#include "swift/AST/Module.h" // for ModuleDecl, DeclContext::i... | |
#include "swift/AST/ModuleNameLookup.h" // for lookupInModule, Resolution... | |
#include "swift/AST/NameLookup.h" // for LookupResultEntry, FindLoc... | |
#include "swift/AST/NameLookupRequests.h" // for UnqualifiedLookupDescriptor | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for BraceStmt | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP, SWIFT_DE... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for FrontendStatsTracer | |
#include "type_traits" // for move, enable_if<>::type | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
--- | |
/Users/varun/foss-swift/swift/lib/AST/USRGeneration.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "clang/AST/Attrs.inc" // for NSErrorDomainAttr | |
#include "clang/AST/Decl.h" // for EnumConstantDecl, EnumDecl | |
#include "clang/Lex/MacroInfo.h" // for MacroInfo | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLevel... | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for ValueDecl, ExtensionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Evalu... | |
#include "swift/AST/Identifier.h" // for Identifier, ObjCSelector | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Types.h" // for TypeBase, ModuleType | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, swift | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/AST/USRGeneration.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 25-25 | |
- #include "clang/Lex/PreprocessingRecord.h" // lines 27-27 | |
- #include "clang/Lex/Preprocessor.h" // lines 28-28 | |
- #include "swift/AST/USRGeneration.h" // lines 20-20 | |
The full include-list for /Users/varun/foss-swift/swift/lib/AST/USRGeneration.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/Attrs.inc" // for NSErrorDomainAttr | |
#include "clang/AST/Decl.h" // for EnumConstantDecl, EnumDecl | |
#include "clang/Index/USRGeneration.h" // for generateUSRForObjCMethod | |
#include "clang/Lex/MacroInfo.h" // for MacroInfo | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svector... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTMangler.h" // for ASTMangler | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLevel... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for ValueDecl, ExtensionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault, Evalu... | |
#include "swift/AST/Identifier.h" // for Identifier, ObjCSelector | |
#include "swift/AST/Module.h" // for ModuleDecl, ModuleEntity | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/SwiftNameTranslation.h" // for getObjCNameForSwiftDecl | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeCheckRequests.h" // for USRGenerationRequest | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Types.h" // for TypeBase, ModuleType | |
#include "swift/AST/USRGeneration.h" // for ide, printAccessorUSR | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, swift | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/AnyValue.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Hashing.h" // for hash_code | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for shared_ptr | |
#include "type_traits" // for forward, remove_reference | |
namespace llvm { template <typename EltTy> class TinyPtrVector; } | |
namespace llvm { template <typename T> class Optional; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/AnyValue.h should remove these lines: | |
- #include "llvm/ADT/TinyPtrVector.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/AnyValue.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Hashing.h" // for hash_code | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for shared_ptr | |
#include "swift/Basic/SimpleDisplay.h" // for simple_display | |
#include "swift/Basic/TypeID.h" // for TypeID | |
#include "type_traits" // for forward, remove_reference | |
namespace llvm { template <typename EltTy> class TinyPtrVector; } | |
namespace llvm { template <typename T> class Optional; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/AnyValue.cpp should add these lines: | |
#include "string" // for basic_string | |
/Users/varun/foss-swift/swift/lib/Basic/AnyValue.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/AnyValue.cpp: | |
#include "swift/Basic/AnyValue.h" | |
#include "string" // for basic_string | |
--- | |
(/Users/varun/foss-swift/swift/lib/Basic/Cache.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/include/swift/Basic/ClusteredBitVector.h should add these lines: | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "type_traits" // for move | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/ClusteredBitVector.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/ClusteredBitVector.h: | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include <cassert> // for assert | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "type_traits" // for move | |
namespace llvm { class raw_ostream; } | |
--- | |
(/Users/varun/foss-swift/swift/lib/Basic/ClusteredBitVector.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/lib/Basic/DiverseStack.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for size_t, memcpy | |
#include "new" // for operator delete[], operator new[] | |
#include "swift/Basic/Malloc.h" // for swift | |
/Users/varun/foss-swift/swift/lib/Basic/DiverseStack.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/DiverseStack.cpp: | |
#include <assert.h> // for assert | |
#include <string.h> // for size_t, memcpy | |
#include "new" // for operator delete[], operator new[] | |
#include "swift/Basic/DiverseList.h" // for DiverseListBase | |
#include "swift/Basic/DiverseStack.h" // for DiverseStackBase | |
#include "swift/Basic/Malloc.h" // for swift | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/Edit.cpp should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
/Users/varun/foss-swift/swift/lib/Basic/Edit.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/Edit.cpp: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/Basic/Edit.h" // for SingleEdit, writeEditsInJson | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/EditorPlaceholder.h should add these lines: | |
#include "llvm/ADT/Optional.h" // for Optional | |
/Users/varun/foss-swift/swift/include/swift/Basic/EditorPlaceholder.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/EditorPlaceholder.h: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/EditorPlaceholder.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/None.h" // for None, llvm | |
#include "swift/Basic/LLVM.h" // for None, swift | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/Basic/EditorPlaceholder.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/EditorPlaceholder.cpp: | |
#include "swift/Basic/EditorPlaceholder.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/None.h" // for None, llvm | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/Basic/LLVM.h" // for None, swift | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/FileTypes.h should add these lines: | |
#include <stdint.h> // for uint8_t | |
#include "vector" // for vector | |
namespace llvm { template <typename T> struct DenseMapInfo; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/FileTypes.h should remove these lines: | |
- #include "llvm/ADT/DenseMapInfo.h" // lines 17-17 | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/FileTypes.h: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Basic/FileTypes.def" // for TY_CompiledSource, TY_SwiftDeps | |
#include "vector" // for vector | |
namespace llvm { template <typename T> struct DenseMapInfo; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/FileTypes.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/Basic/FileTypes.cpp should remove these lines: | |
- #include "llvm/ADT/STLExtras.h" // lines 16-16 | |
- #include "swift/Strings.h" // lines 15-15 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/FileTypes.cpp: | |
#include "swift/Basic/FileTypes.h" | |
#include <assert.h> // for assert | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/Basic/FileTypes.def" // for TY_ASTDump, TY_Assembly, TY_... | |
#include "swift/Basic/FileTypes.def" // for TY_ASTDump, TY_Assembly, TY_... | |
#include "swift/Basic/FileTypes.def" // for TY_ASTDump, TY_Assembly, TY_... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/JSONSerialization.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint32_t, int16_t, int32_t | |
#include "__functional_base" // for less | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "type_traits" // for enable_if, integral_constant | |
/Users/varun/foss-swift/swift/include/swift/Basic/JSONSerialization.h should remove these lines: | |
- #include "llvm/Support/ErrorHandling.h" // lines 27-27 | |
- namespace swift { namespace json { template <typename T> struct MissingTrait; } } // lines 186-187 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/JSONSerialization.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint32_t, int16_t, int32_t | |
#include <map> // for map | |
#include <vector> // for vector | |
#include "__functional_base" // for less | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, StringRef::npos | |
#include "llvm/Support/Regex.h" // for Regex | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, errs, raw... | |
#include "swift/Basic/LLVM.h" // for Optional | |
#include "type_traits" // for enable_if, integral_constant | |
namespace swift { namespace json { template <typename T, T> struct SameType; } } // lines 182-183 | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/JSONSerialization.cpp should add these lines: | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
/Users/varun/foss-swift/swift/lib/Basic/JSONSerialization.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/JSONSerialization.cpp: | |
#include "swift/Basic/JSONSerialization.h" | |
#include "llvm/ADT/StringExtras.h" // for hexdigit | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/Format.h" // for format, format_object | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/LangOptions.h should add these lines: | |
#include <assert.h> // for assert | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "memory" // for shared_ptr | |
#include "utility" // for pair | |
namespace llvm { class Regex; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/LangOptions.h should remove these lines: | |
- #include "llvm/Support/Regex.h" // lines 30-30 | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
- #include "swift/Config.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/LangOptions.h: | |
#include <assert.h> // for assert | |
#include <string> // for basic_string | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, raw_ostream | |
#include "memory" // for shared_ptr | |
#include "swift/AST/PlatformConditionKinds.def" // lines 41-41 | |
#include "swift/Basic/Version.h" // for Version, operator<< | |
#include "utility" // for pair | |
namespace llvm { class Regex; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/LangOptions.cpp should add these lines: | |
#include "algorithm" // for find | |
#include "limits" // for numeric_limits | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string, operat... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Basic/LangOptions.cpp should remove these lines: | |
- #include <limits.h> // lines 25-25 | |
- #include "llvm/ADT/Hashing.h" // lines 22-22 | |
- #include "swift/Basic/Range.h" // lines 20-20 | |
- #include "swift/Config.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/LangOptions.cpp: | |
#include "swift/Basic/LangOptions.h" | |
#include "algorithm" // for find | |
#include "limits" // for numeric_limits | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_sve... | |
#include "string" // for basic_string, operat... | |
#include "swift/AST/PlatformConditionKinds.def" // for PlatformConditionKin... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/Platform.h" // for tripleIsMacCatalystE... | |
#include "type_traits" // for move | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/Located.cpp should add these lines: | |
#include "swift/Basic/LLVM.h" // for swift | |
/Users/varun/foss-swift/swift/lib/Basic/Located.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/Located.cpp: | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream (ptr only) | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/Located.h" // for Located | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/Mangler.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
/Users/varun/foss-swift/swift/include/swift/Basic/Mangler.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/Mangler.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svector... | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Demangling/ManglingUtils.h" // for StringRef, SubstitutionWord | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/Mangler.cpp should add these lines: | |
#include <stdlib.h> // for abort, size_t | |
#include "functional" // for __base | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_UNUSED | |
#include "string" // for basic_string | |
#include "swift/Demangling/Demangle.h" // for Node, mangleNode, Node:... | |
#include "type_traits" // for conditional<>::type | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Basic/Mangler.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/Mangler.cpp: | |
#include "swift/Basic/Mangler.h" | |
#include <stdlib.h> // for abort, size_t | |
#include <algorithm> // for sort | |
#include "functional" // for __base | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/CommandLine.h" // for opt, init, desc | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_UNUSED | |
#include "string" // for basic_string | |
#include "swift/Demangling/Demangle.h" // for Node, mangleNode, Node:... | |
#include "swift/Demangling/Demangler.h" // for Demangler | |
#include "swift/Demangling/ManglingMacros.h" // for MANGLING_PREFIX_STR | |
#include "swift/Demangling/Punycode.h" // for swift | |
#include "type_traits" // for conditional<>::type | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/OutputFileMap.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/OutputFileMap.h should remove these lines: | |
- #include <string> // lines 26-26 | |
- #include "llvm/Support/MemoryBuffer.h" // lines 21-21 | |
- #include "llvm/Support/SourceMgr.h" // lines 22-22 | |
- #include "llvm/Support/YAMLParser.h" // lines 23-23 | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/OutputFileMap.h: | |
#include <memory> // for unique_ptr | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Error.h" // for Expected | |
#include "swift/Basic/FileTypes.h" // for ID | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { class raw_ostream; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/OutputFileMap.cpp should add these lines: | |
#include "algorithm" // for sort | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/YAMLParser.h" // for ScalarNode, MappingNode, KeyV... | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, operator< | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Basic/OutputFileMap.cpp should remove these lines: | |
- #include <system_error> // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/OutputFileMap.cpp: | |
#include "swift/Basic/OutputFileMap.h" | |
#include "algorithm" // for sort | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator+=, operator< | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for append, is_absolute | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/YAMLParser.h" // for ScalarNode, MappingNode, KeyV... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, operator< | |
#include "swift/Basic/FileTypes.h" // for ID, getExtension, getTypeName | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/PrefixMap.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for ptrdiff_t | |
#include <string.h> // for size_t, memcpy, memmove | |
#include <new> // for operator new | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl (... | |
#include "type_traits" // for forward | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/include/swift/Basic/PrefixMap.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/PrefixMap.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for ptrdiff_t | |
#include <string.h> // for size_t, memcpy, memmove | |
#include <algorithm> // for max, min | |
#include <iterator> // for input_iterator_tag | |
#include <new> // for operator new | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl (... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/LLVM.h" // for ArrayRef, SmallVector, SmallVe... | |
#include "swift/Basic/type_traits.h" // for IsTriviallyConstructible, IsTr... | |
#include "type_traits" // for forward | |
#include "utility" // for pair | |
namespace swift { struct PrefixMap::Node; } // lines 95-95 | |
namespace swift { template <class KeyElementType> class PrefixMapKeyPrinter; } // lines 50-50 | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/PrefixMap.cpp should add these lines: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace { struct _Node; } | |
/Users/varun/foss-swift/swift/lib/Basic/PrefixMap.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/PrefixMap.cpp: | |
#include "swift/Basic/PrefixMap.h" | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Compiler.h" // for LLVM_GNUC_PREREQ | |
#include "swift/Basic/QuotedString.h" // for operator<<, QuotedString | |
namespace { struct _Node; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/PrettyStackTrace.h should add these lines: | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/PrettyStackTrace.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/PrettyStackTrace.h: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceEntry | |
namespace llvm { class MemoryBuffer; } // lines 20-20 | |
namespace llvm { class raw_ostream; } | |
--- | |
(/Users/varun/foss-swift/swift/lib/Basic/PrettyStackTrace.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/lib/Basic/QuotedString.cpp should add these lines: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
/Users/varun/foss-swift/swift/lib/Basic/QuotedString.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/QuotedString.cpp: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/Basic/QuotedString.h" // for printAsQuotedString, swift | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/SourceLoc.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uintptr_t | |
#include "__functional_base" // for less | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/SourceLoc.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
- namespace llvm { template <typename T> struct DenseMapInfo; } // lines 229-229 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/SourceLoc.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uintptr_t | |
#include <functional> // for less_equal | |
#include "__functional_base" // for less | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/SMLoc.h" // for SMLoc | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMPER | |
namespace llvm { class raw_ostream; } | |
namespace swift { class SourceManager; } // lines 28-28 | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/SourceLoc.cpp should add these lines: | |
#include "functional" // for less_equal | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_USED | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/VirtualFileSystem.h" // for Status, FileSystem | |
#include "map" // for map, operator!=, __map_i... | |
#include "memory" // for unique_ptr | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/LLVM.h" // for None, swift | |
#include "type_traits" // for move, conditional<>::type | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/Basic/SourceLoc.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/SourceLoc.cpp: | |
#include "swift/Basic/SourceLoc.h" | |
#include "functional" // for less_equal | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_USED | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceString | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/VirtualFileSystem.h" // for Status, FileSystem | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "map" // for map, operator!=, __map_i... | |
#include "memory" // for unique_ptr | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/LLVM.h" // for None, swift | |
#include "swift/Basic/SourceManager.h" // for SourceManager, SourceMan... | |
#include "type_traits" // for move, conditional<>::type | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/Statistic.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for int64_t, uint64_t | |
#include <stdlib.h> // for getenv, EXIT_FAILURE, EXIT_... | |
#include <memory> // for allocator | |
#include "algorithm" // for max | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Statistic.h" // for Statistic, EnableStatistics | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX | |
#include "llvm/Support/Compiler.h" // for llvm | |
#include "llvm/Support/SwapByteOrder.h" // for sys | |
#include "llvm/Support/Timer.h" // for TimeRecord, NamedRegionTimer | |
#include "memory" // for unique_ptr, make_unique | |
#include "string" // for operator+, basic_string | |
#include "swift/Config.h" // for HAVE_PROC_PID_RUSAGE | |
#include "system_error" // for error_code | |
#include "thread" // for get_id, operator==, __threa... | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference<>::type, move | |
#include "utility" // for make_pair | |
#include "vector" // for vector | |
namespace clang { class SourceManager; } | |
namespace swift { class SourceManager; } | |
/Users/varun/foss-swift/swift/lib/Basic/Statistic.cpp should remove these lines: | |
- #include <sys/time.h> // lines 37-37 | |
- #include "clang/AST/Decl.h" // lines 13-13 | |
- #include "clang/Basic/SourceLocation.h" // lines 14-14 | |
- #include "clang/Basic/SourceManager.h" // lines 15-15 | |
- #include "swift/AST/Decl.h" // lines 18-18 | |
- #include "swift/AST/Expr.h" // lines 19-19 | |
- #include "swift/SIL/SILFunction.h" // lines 20-20 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/Statistic.cpp: | |
#include <assert.h> // for assert | |
#include <libproc.h> // for proc_pid_rusage | |
#include <malloc/malloc.h> // for malloc_default_zone, malloc... | |
#include <stdint.h> // for int64_t, uint64_t | |
#include <stdlib.h> // for getenv, EXIT_FAILURE, EXIT_... | |
#include <sys/resource.h> // for getrusage, RUSAGE_INFO_V4 | |
#include <unistd.h> // for getpid | |
#include <chrono> // for microseconds, duration_cast | |
#include <limits> // for numeric_limits | |
#include <memory> // for allocator | |
#include "algorithm" // for max | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Statistic.h" // for Statistic, EnableStatistics | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Config/config.h" // for HAVE_MALLOC_MALLOC_H, HAVE_... | |
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX | |
#include "llvm/Support/Compiler.h" // for llvm | |
#include "llvm/Support/FileSystem.h" // for operator|, F_Append, F_Text | |
#include "llvm/Support/Path.h" // for append, filename | |
#include "llvm/Support/Process.h" // for Process | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "llvm/Support/SwapByteOrder.h" // for sys | |
#include "llvm/Support/Timer.h" // for TimeRecord, NamedRegionTimer | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_fd_ostream | |
#include "memory" // for unique_ptr, make_unique | |
#include "string" // for operator+, basic_string | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter, Front... | |
#include "swift/Basic/Statistics.def" // lines 299-299 | |
#include "swift/Basic/Statistics.def" // lines 425-425 | |
#include "swift/Basic/Statistics.def" // lines 435-435 | |
#include "swift/Basic/Statistics.def" // lines 452-452 | |
#include "swift/Basic/Statistics.def" // lines 462-462 | |
#include "swift/Basic/Statistics.def" // lines 601-601 | |
#include "swift/Basic/Statistics.def" // lines 624-624 | |
#include "swift/Basic/Statistics.def" // lines 636-636 | |
#include "swift/Basic/Statistics.def" // lines 771-771 | |
#include "swift/Basic/Statistics.def" // lines 783-783 | |
#include "swift/Basic/Timer.h" // for SharedTimer | |
#include "swift/Config.h" // for HAVE_PROC_PID_RUSAGE | |
#include "system_error" // for error_code | |
#include "thread" // for get_id, operator==, __threa... | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference<>::type, move | |
#include "utility" // for make_pair | |
#include "vector" // for vector | |
namespace clang { class SourceManager; } | |
namespace swift { class SourceManager; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/StringExtras.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/StringExtras.h should remove these lines: | |
- #include <string> // lines 28-28 | |
- #include "llvm/ADT/SmallVector.h" // lines 23-23 | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
- namespace swift { namespace camel_case { class WordIterator; } } // lines 66-66 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/StringExtras.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <iterator> // for reverse_iterator, bidirectional_... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator | |
#include "swift/Basic/OptionSet.h" // for operator-=, operator|=, None | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/StringExtras.cpp should add these lines: | |
#include <_ctype.h> // for isdigit | |
#include <string.h> // for memcpy, size_t, strlen | |
#include "iterator" // for reverse_iterator, operator!=, next | |
#include "llvm/ADT/STLExtras.h" // for make_reverse_iterator | |
#include "llvm/ADT/iterator_range.h" // for iterator_range, make_range | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move, enable_if<>::type | |
/Users/varun/foss-swift/swift/lib/Basic/StringExtras.cpp should remove these lines: | |
- #include "llvm/Support/Compiler.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/StringExtras.cpp: | |
#include "swift/Basic/StringExtras.h" | |
#include <_ctype.h> // for isdigit | |
#include <string.h> // for memcpy, size_t, strlen | |
#include <algorithm> // for find_if | |
#include "PartsOfSpeech.def" // lines 51-51 | |
#include "PartsOfSpeech.def" // lines 64-64 | |
#include "clang/Basic/CharInfo.h" // for isUppercase, isLowercase, toLow... | |
#include "iterator" // for reverse_iterator, operator!=, next | |
#include "llvm/ADT/ArrayRef.h" // for MutableArrayRef, ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for make_reverse_iterator | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/iterator_range.h" // for iterator_range, make_range | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "type_traits" // for move, enable_if<>::type | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/TaskQueue.h should add these lines: | |
#include <stdint.h> // for uint64_t | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "type_traits" // for move | |
namespace llvm { class StringRef; } | |
namespace swift { namespace json { class Output; } } | |
namespace swift { namespace json { template <class T> struct ObjectTraits; } } | |
/Users/varun/foss-swift/swift/include/swift/Basic/TaskQueue.h should remove these lines: | |
- #include "swift/Basic/JSONSerialization.h" // lines 16-16 | |
- struct rusage; // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/TaskQueue.h: | |
#include <stdint.h> // for uint64_t | |
#include <functional> // for function | |
#include <memory> // for unique_ptr | |
#include <queue> // for queue | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/Config/config.h" // for HAVE_GETRUSAGE | |
#include "llvm/Support/Program.h" // for procid_t | |
#include "swift/Basic/LLVM.h" // for None | |
#include "type_traits" // for move | |
namespace llvm { class StringRef; } | |
namespace swift { class UnifiedStatsReporter; } // lines 31-31 | |
namespace swift { namespace json { class Output; } } | |
namespace swift { namespace json { template <class T> struct ObjectTraits; } } | |
namespace swift { namespace sys { class Task; } } // lines 34-34 | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/TaskQueue.cpp should add these lines: | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "queue" // for queue | |
#include "string" // for basic_string | |
#include "swift/Basic/JSONSerialization.h" // for Output | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/Basic/TaskQueue.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/TaskQueue.cpp: | |
#include "swift/Basic/TaskQueue.h" | |
#include "Unix/TaskQueue.inc" // for TaskQueue::getNumberOfPar... | |
#include "functional" // for function | |
#include "iosfwd" // for string | |
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "queue" // for queue | |
#include "string" // for basic_string | |
#include "swift/Basic/JSONSerialization.h" // for Output | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/ThreadSafeRefCounted.h should add these lines: | |
/Users/varun/foss-swift/swift/include/swift/Basic/ThreadSafeRefCounted.h should remove these lines: | |
- #include "llvm/ADT/IntrusiveRefCntPtr.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/ThreadSafeRefCounted.h: | |
#include <atomic> // for atomic, __atomic_base | |
#include <cassert> // for assert | |
--- | |
(/Users/varun/foss-swift/swift/lib/Basic/ThreadSafeRefCounted.cpp has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/include/swift/Basic/Unicode.h should add these lines: | |
#include <stdint.h> // for uint16_t, uint32_t, uint64_t, uint8_t | |
/Users/varun/foss-swift/swift/include/swift/Basic/Unicode.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/Unicode.h: | |
#include <stdint.h> // for uint16_t, uint32_t, uint64_t, uint8_t | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/Unicode.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "swift/Basic/LLVM.h" // for swift | |
/Users/varun/foss-swift/swift/lib/Basic/Unicode.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/Unicode.cpp: | |
#include "swift/Basic/Unicode.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTemplat... | |
#include "llvm/Support/ConvertUTF.h" // for UTF32, UTF8, ConvertUTF8toUTF32 | |
#include "swift/Basic/LLVM.h" // for swift | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Basic/UUID.h should add these lines: | |
#include <string.h> // for memcpy | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> struct DenseMapInfo; } | |
/Users/varun/foss-swift/swift/include/swift/Basic/UUID.h should remove these lines: | |
- #include "llvm/ADT/DenseMap.h" // lines 22-22 | |
- #include "llvm/Support/raw_ostream.h" // lines 24-24 | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Basic/UUID.h: | |
#include <string.h> // for memcpy | |
#include <array> // for array | |
#include "llvm/ADT/Optional.h" // for Optional | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> struct DenseMapInfo; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/UUID.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/Basic/LLVM.h" // for None, swift | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/Basic/UUID.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/UUID.cpp: | |
#include "swift/Basic/UUID.h" | |
#include <assert.h> // for assert | |
#include <uuid/uuid.h> // for uuid_clear, uuid_compare, uuid... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/Basic/LLVM.h" // for None, swift | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/Basic/Version.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "algorithm" // for max, min | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InFlight... | |
#include "swift/AST/DiagnosticsParse.def" // for empty_version_component | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/Basic/Version.cpp should remove these lines: | |
- #include <vector> // lines 25-25 | |
- #include "ClangRevision.inc" // lines 48-48 | |
- #include "clang/Basic/CharInfo.h" // lines 17-17 | |
- #include "swift/AST/DiagnosticsParse.h" // lines 21-21 | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Basic/Version.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "LLVMRevision.inc" // for LLVM_REVISION | |
#include "SwiftRevision.inc" // for SWIFT_REVISION | |
#include "algorithm" // for max, min | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTe... | |
#include "llvm/ADT/StringExtras.h" // for itostr | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_string_os... | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InFlight... | |
#include "swift/AST/DiagnosticsParse.def" // for empty_version_component | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/Version.h" // for Version, getSwiftFullVersion | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/Action.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "chrono" // for time_point | |
#include "iosfwd" // for string | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "new" // for operator new, operator delete | |
#include "string" // for basic_string | |
/Users/varun/foss-swift/swift/include/swift/Driver/Action.h should remove these lines: | |
- #include "llvm/ADT/StringSwitch.h" // lines 20-20 | |
- #include "llvm/Support/Chrono.h" // lines 22-22 | |
- namespace swift { namespace driver { class Action; } } // lines 32-32 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/Action.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "chrono" // for time_point | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, ArrayRef<>::const_iter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "new" // for operator new, operator delete | |
#include "string" // for basic_string | |
#include "swift/Basic/FileTypes.h" // for ID, TY_Nothing, TY_Image, TY_Aut... | |
#include "swift/Basic/LLVM.h" // for None, dyn_cast | |
#include "swift/Driver/Util.h" // for LinkKind, LinkKind::StaticLibrary | |
namespace llvm { namespace opt { class Arg; } } // lines 26-26 | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/Action.cpp should add these lines: | |
/Users/varun/foss-swift/swift/lib/Driver/Action.cpp should remove these lines: | |
- #include "llvm/ADT/STLExtras.h" // lines 15-15 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/Action.cpp: | |
#include "swift/Driver/Action.h" | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/DarwinToolChains.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for getenv | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for makeArrayRef, ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVector... | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapCons... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Error.h" // for Expected, consumeError | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, report... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/VirtualFileSystem.h" // for getRealFileSystem | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svector... | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsDriver.def" // for error_os_minimum_deployment | |
#include "swift/Basic/FileTypes.h" // for TY_Object, TY_SwiftModul... | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator&, None | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind, Sanitizer... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction | |
#include "swift/Driver/ToolChain.h" // for ToolChain::JobContext | |
#include "swift/Driver/Util.h" // for FilelistInfo, LinkKind | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_reference<>... | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Driver/DarwinToolChains.cpp should remove these lines: | |
- #include "clang/Basic/Version.h" // lines 28-28 | |
- #include "clang/Driver/Util.h" // lines 29-29 | |
- #include "llvm/ADT/StringSwitch.h" // lines 30-30 | |
- #include "llvm/ProfileData/InstrProf.h" // lines 33-33 | |
- #include "llvm/Support/Process.h" // lines 36-36 | |
- #include "swift/AST/DiagnosticsDriver.h" // lines 15-15 | |
- #include "swift/Basic/Dwarf.h" // lines 16-16 | |
- #include "swift/Basic/Range.h" // lines 19-19 | |
- #include "swift/Basic/STLExtras.h" // lines 20-20 | |
- #include "swift/Config.h" // lines 22-22 | |
- #include "swift/Driver/Compilation.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/DarwinToolChains.cpp: | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for getenv | |
#include "ToolChains.h" // for Darwin | |
#include "clang/Driver/DarwinSDKInfo.h" // for parseDarwinSDKInfo, Darw... | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for makeArrayRef, ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCntPtr | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVector... | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapCons... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Error.h" // for Expected, consumeError | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, report... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for exists, is_directory | |
#include "llvm/Support/Path.h" // for append, remove_filename | |
#include "llvm/Support/Program.h" // for findProgramByName | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple, operator<= | |
#include "llvm/Support/VirtualFileSystem.h" // for getRealFileSystem | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svector... | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsDriver.def" // for error_os_minimum_deployment | |
#include "swift/Basic/FileTypes.h" // for TY_Object, TY_SwiftModul... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator&, None | |
#include "swift/Basic/Platform.h" // for DarwinPlatformKind, trip... | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind, Sanitizer... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/TaskQueue.h" // for TaskFinishedResponse | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction | |
#include "swift/Driver/Driver.h" // for OutputInfo, Driver, Outp... | |
#include "swift/Driver/Job.h" // for CommandOutput | |
#include "swift/Driver/ToolChain.h" // for ToolChain::JobContext | |
#include "swift/Driver/Util.h" // for FilelistInfo, LinkKind | |
#include "swift/Option/Options.h" // for OPT_F, OPT_link_objc_run... | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_reference<>... | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/Driver.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl (ptr only) | |
#include "utility" // for pair | |
namespace llvm { class raw_ostream; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
/Users/varun/foss-swift/swift/include/swift/Driver/Driver.h should remove these lines: | |
- #include <functional> // lines 30-30 | |
- namespace llvm { namespace opt { class Arg; } } // lines 36-36 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/Driver.h: | |
#include <memory> // for unique_ptr | |
#include <string> // for basic_string | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl (ptr only) | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/AST/IRGenOptions.h" // for IRGenDebugInfoFormat, IRGenDe... | |
#include "swift/Basic/FileTypes.h" // for ID, TY_INVALID | |
#include "swift/Basic/LLVM.h" // for None | |
#include "swift/Basic/OptionSet.h" // for OptionSet | |
#include "swift/Basic/OutputFileMap.h" // for TypeToPathMap, OutputFileMap ... | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind | |
#include "swift/Driver/Util.h" // for InputFileList, LinkKind, Link... | |
#include "utility" // for pair | |
namespace llvm { class raw_ostream; } | |
namespace llvm { namespace opt { class ArgList; } } // lines 37-37 | |
namespace llvm { namespace opt { class DerivedArgList; } } // lines 40-40 | |
namespace llvm { namespace opt { class InputArgList; } } // lines 39-39 | |
namespace llvm { namespace opt { class OptTable; } } // lines 38-38 | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
namespace swift { class DiagnosticEngine; } // lines 48-48 | |
namespace swift { namespace driver { class Action; } } // lines 50-50 | |
namespace swift { namespace driver { class CommandOutput; } } // lines 51-51 | |
namespace swift { namespace driver { class Compilation; } } // lines 52-52 | |
namespace swift { namespace driver { class Driver::InputInfoMap; } } // lines 164-164 | |
namespace swift { namespace driver { class Job; } } // lines 53-53 | |
namespace swift { namespace driver { class JobAction; } } // lines 54-54 | |
namespace swift { namespace driver { class ToolChain; } } // lines 55-55 | |
namespace swift { namespace sys { class TaskQueue; } } // lines 46-46 | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/Driver.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for getenv | |
#include <string.h> // for size_t, strcmp, strlen | |
#include <sys/types.h> // for time_t | |
#include "algorithm" // for copy_if | |
#include "chrono" // for time_point, duration | |
#include "functional" // for __base | |
#include "iterator" // for back_insert_iterator | |
#include "llvm/ADT/Hashing.h" // for hash_code | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::ELF | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/OptSpecifier.h" // for OptSpecifier | |
#include "llvm/Option/Option.h" // for Option, Option::InputClass | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/Error.h" // for Expected, toString, Error | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Program.h" // for findProgramByName | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple, operator< | |
#include "llvm/Support/YAMLParser.h" // for ScalarNode, basic_colle... | |
#include "new" // for operator new | |
#include "ratio" // for ratio | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticsCommon.def" // for remark_max_determinism_... | |
#include "swift/AST/DiagnosticsDriver.def" // for error_conflicting_options | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_invalid_arg_value | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_reference<... | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Driver/Driver.cpp should remove these lines: | |
- #include "llvm/Config/config.h" // lines 46-46 | |
- #include "llvm/Remarks/RemarkFormat.h" // lines 50-50 | |
- #include "llvm/Support/Debug.h" // lines 51-51 | |
- #include "swift/AST/DiagnosticsDriver.h" // lines 21-21 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 22-22 | |
- #include "swift/Basic/Range.h" // lines 27-27 | |
- #include "swift/Config.h" // lines 31-31 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/Driver.cpp: | |
#include "swift/Driver/Driver.h" | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for getenv | |
#include <string.h> // for size_t, strcmp, strlen | |
#include <sys/types.h> // for time_t | |
#include <memory> // for unique_ptr, make_unique | |
#include "CompilationRecord.h" // for getName, TopLevelKey | |
#include "ToolChains.h" // for GenericUnix, Android | |
#include "algorithm" // for copy_if | |
#include "chrono" // for time_point, duration | |
#include "functional" // for __base | |
#include "iterator" // for back_insert_iterator | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseSet.h" // for DenseSet, DenseSetImpl<... | |
#include "llvm/ADT/Hashing.h" // for hash_code | |
#include "llvm/ADT/STLExtras.h" // for array_pod_sort, count_if | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::ELF | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for DerivedArgList, InputAr... | |
#include "llvm/Option/OptSpecifier.h" // for OptSpecifier | |
#include "llvm/Option/OptTable.h" // for OptTable | |
#include "llvm/Option/Option.h" // for Option, Option::InputClass | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast, cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/Error.h" // for Expected, toString, Error | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for exists, createTemporary... | |
#include "llvm/Support/Host.h" // for getDefaultTargetTriple | |
#include "llvm/Support/MD5.h" // for MD5, MD5::MD5Result | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for replace_extension, append | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceString | |
#include "llvm/Support/Program.h" // for findProgramByName | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple, operator< | |
#include "llvm/Support/YAMLParser.h" // for ScalarNode, basic_colle... | |
#include "llvm/Support/raw_ostream.h" // for outs, raw_ostream, errs | |
#include "new" // for operator new | |
#include "ratio" // for ratio | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for remark_max_determinism_... | |
#include "swift/AST/DiagnosticsDriver.def" // for error_conflicting_options | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_invalid_arg_value | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for isa, dyn_cast, cast, None | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/OutputFileMap.h" // for OutputFileMap, TypeToPa... | |
#include "swift/Basic/Platform.h" // for tripleInfersSimulatorEn... | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter | |
#include "swift/Basic/TaskQueue.h" // for TaskQueue, DummyTaskQueue | |
#include "swift/Basic/Version.h" // for getSwiftFullVersion | |
#include "swift/Driver/Action.h" // for JobAction, CompileJobAc... | |
#include "swift/Driver/Compilation.h" // for Compilation, OutputLevel | |
#include "swift/Driver/Job.h" // for CommandOutput, Job, Job... | |
#include "swift/Driver/PrettyStackTrace.h" // for PrettyStackTraceDriverA... | |
#include "swift/Driver/ToolChain.h" // for ToolChain | |
#include "swift/Option/Options.h" // for ID, OPT_embed_bitcode | |
#include "swift/Option/SanitizerOptions.h" // for parseSanitizerArgValues | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Strings.h" // for STDLIB_NAME | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_reference<... | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/FineGrainedDependencyDriverGraph.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "algorithm" // for find | |
#include "array" // for array | |
#include "iosfwd" // for string | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator== | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream (ptr only) | |
#include "swift/Basic/FileTypes.h" // for TY_SwiftDeps | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DiagnosticEngine; } | |
namespace swift { template <class T> class NullablePtr; } | |
/Users/varun/foss-swift/swift/include/swift/Driver/FineGrainedDependencyDriverGraph.h should remove these lines: | |
- #include "llvm/ADT/iterator_range.h" // lines 24-24 | |
- #include "llvm/Support/PointerLikeTypeTraits.h" // lines 26-26 | |
- #include "swift/Basic/LLVM.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/FineGrainedDependencyDriverGraph.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <string> // for basic_string, operator== | |
#include <unordered_map> // for unordered_map, __hash... | |
#include <unordered_set> // for unordered_set | |
#include <vector> // for vector | |
#include "algorithm" // for find | |
#include "array" // for array | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional, operator== | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/Path.h" // for filename | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream (ptr only) | |
#include "swift/AST/FineGrainedDependencies.h" // for DepGraphNode, SourceF... | |
#include "swift/Basic/Debug.h" // for SWIFT_DEBUG_DUMP | |
#include "swift/Basic/FileTypes.h" // for TY_SwiftDeps | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Driver/Job.h" // for CommandOutput, Job | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DiagnosticEngine; } | |
namespace swift { class UnifiedStatsReporter; } // lines 37-37 | |
namespace swift { template <class T> class NullablePtr; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/FineGrainedDependencyDriverGraph.cpp should add these lines: | |
#include "__hash_table" // for operator!= | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_UNUSED | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "string" // for basic_string, opera... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Driver/Util.h" // for driver | |
#include "unordered_map" // for unordered_map, __ha... | |
#include "vector" // for vector, vector<>::v... | |
namespace swift { class DiagnosticEngine; } | |
/Users/varun/foss-swift/swift/lib/Driver/FineGrainedDependencyDriverGraph.cpp should remove these lines: | |
- #include "llvm/ADT/SmallVector.h" // lines 25-25 | |
- #include "llvm/ADT/StringSwitch.h" // lines 27-27 | |
- #include "llvm/Support/SourceMgr.h" // lines 30-30 | |
- #include "llvm/Support/YAMLParser.h" // lines 31-31 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 15-15 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/Basic/SourceManager.h" // lines 19-19 | |
- #include "swift/Demangling/Demangle.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/FineGrainedDependencyDriverGraph.cpp: | |
#include "swift/Driver/FineGrainedDependencyDriverGraph.h" | |
#include <unordered_set> // for unordered_set | |
#include "__hash_table" // for operator!= | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_UNUSED | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for append, filename | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "string" // for basic_string, opera... | |
#include "swift/AST/FileSystem.h" // for withOutputFile | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/ReferenceDependencyKeys.h" // for NodeKind, NodeKind:... | |
#include "swift/Basic/Statistic.h" // for FrontendStatsTracer | |
#include "swift/Driver/Job.h" // for Job, CommandOutput | |
#include "swift/Driver/Util.h" // for driver | |
#include "unordered_map" // for unordered_map, __ha... | |
#include "vector" // for vector, vector<>::v... | |
namespace swift { class DiagnosticEngine; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/FrontendUtil.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
namespace llvm { template <typename Fn> class function_ref; } | |
/Users/varun/foss-swift/swift/include/swift/Driver/FrontendUtil.h should remove these lines: | |
- #include <memory> // lines 19-19 | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/FrontendUtil.h: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DiagnosticEngine; } // lines 23-23 | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/FrontendUtil.cpp should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrSetI... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!= | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Casting.h" // for isa | |
#include "memory" // for unique_ptr | |
#include "string" // for to_string, basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsDriver.def" // for error_expected_frontend_c... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/Driver/FrontendUtil.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsDriver.h" // lines 15-15 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/FrontendUtil.cpp: | |
#include "swift/Driver/FrontendUtil.h" | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrSetI... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!= | |
#include "llvm/Option/ArgList.h" // for InputArgList | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Casting.h" // for isa | |
#include "memory" // for unique_ptr | |
#include "string" // for to_string, basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsDriver.def" // for error_expected_frontend_c... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Driver/Action.h" // for CompileJobAction | |
#include "swift/Driver/Compilation.h" // for Compilation, Compilation:... | |
#include "swift/Driver/Driver.h" // for Driver | |
#include "swift/Driver/Job.h" // for Job | |
#include "swift/Driver/ToolChain.h" // for ToolChain | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/Job.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for int64_t | |
#include "__functional_base" // for less | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMap... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, Small... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa | |
#include "memory" // for unique_ptr | |
#include "string" // for basic_string | |
#include "swift/Basic/FileTypes.h" // for ID, TY_Nothing | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, swift | |
#include "swift/Basic/OutputFileMap.h" // for OutputFileMap | |
#include "swift/Driver/Action.h" // for InputAction, JobAc... | |
#include "swift/Driver/Util.h" // for FilelistInfo | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, conditional<... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Driver/Job.cpp should remove these lines: | |
- #include "llvm/ADT/STLExtras.h" // lines 17-17 | |
- #include "llvm/Support/Program.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/Job.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for int64_t | |
#include "__functional_base" // for less | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMap... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, Small... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/FileSystem.h" // for F_None | |
#include "llvm/Support/Path.h" // for filename | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "memory" // for unique_ptr | |
#include "string" // for basic_string | |
#include "swift/Basic/FileTypes.h" // for ID, TY_Nothing | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, swift | |
#include "swift/Basic/OutputFileMap.h" // for OutputFileMap | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Driver/Action.h" // for InputAction, JobAc... | |
#include "swift/Driver/DriverIncrementalRanges.h" // for driver | |
#include "swift/Driver/Job.h" // for CommandOutput, Job | |
#include "swift/Driver/PrettyStackTrace.h" // for PrettyStackTraceDr... | |
#include "swift/Driver/Util.h" // for FilelistInfo | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, conditional<... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/ParseableOutput.h should add these lines: | |
#include <stdint.h> // for int64_t | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/include/swift/Driver/ParseableOutput.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/ParseableOutput.h: | |
#include <stdint.h> // for int64_t | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Basic/TaskQueue.h" // for TaskProcessInformation | |
namespace llvm { class raw_ostream; } | |
namespace swift { namespace driver { class Job; } } // lines 27-27 | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/ParseableOutput.cpp should add these lines: | |
#include <stddef.h> // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorT... | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "string" // for basic_string, operator== | |
#include "swift/Basic/LLVM.h" // for SmallVector, dyn_cast, swift | |
#include "type_traits" // for move, remove_reference<>:... | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/Driver/ParseableOutput.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/ParseableOutput.cpp: | |
#include "swift/Driver/ParseableOutput.h" | |
#include <stddef.h> // for size_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorT... | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/raw_ostream.h" // for raw_string_ostream, raw_o... | |
#include "string" // for basic_string, operator== | |
#include "swift/Basic/FileTypes.h" // for ID, forAllTypes, getTypeName | |
#include "swift/Basic/JSONSerialization.h" // for Output, operator<<, Objec... | |
#include "swift/Basic/LLVM.h" // for SmallVector, dyn_cast, swift | |
#include "swift/Basic/TaskQueue.h" // for TaskProcessInformation, sys | |
#include "swift/Driver/Action.h" // for InputAction, BackendJobAc... | |
#include "swift/Driver/Job.h" // for Job, CommandOutput | |
#include "type_traits" // for move, remove_reference<>:... | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/PrettyStackTrace.h should add these lines: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace llvm { class raw_ostream; } | |
/Users/varun/foss-swift/swift/include/swift/Driver/PrettyStackTrace.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/PrettyStackTrace.h: | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceEntry | |
#include "swift/Basic/FileTypes.h" // for ID | |
namespace llvm { class raw_ostream; } | |
namespace swift { namespace driver { class Action; } } // lines 22-22 | |
namespace swift { namespace driver { class CommandOutput; } } // lines 24-24 | |
namespace swift { namespace driver { class Job; } } // lines 23-23 | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/PrettyStackTrace.cpp should add these lines: | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
/Users/varun/foss-swift/swift/lib/Driver/PrettyStackTrace.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/PrettyStackTrace.cpp: | |
#include "swift/Driver/PrettyStackTrace.h" | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/Basic/FileTypes.h" // for getTypeName | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Driver/Action.h" // for InputAction, Action | |
#include "swift/Driver/Job.h" // for CommandOutput, Job | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Driver/ToolChain.h should add these lines: | |
#include <stdint.h> // for int64_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/Error.h" // for Expected | |
#include "string" // for basic_string | |
#include "swift/Driver/Util.h" // for FilelistInfo, InputPair | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
/Users/varun/foss-swift/swift/include/swift/Driver/ToolChain.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
- namespace swift { namespace driver { class CommandOutput; } } // lines 30-30 | |
- namespace swift { namespace driver { class Job; } } // lines 33-33 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Driver/ToolChain.h: | |
#include <stdint.h> // for int64_t | |
#include <memory> // for unique_ptr | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Error.h" // for Expected | |
#include "string" // for basic_string | |
#include "swift/Basic/FileTypes.h" // for ID | |
#include "swift/Driver/Action.h" // for Action (ptr only), AutolinkExtrac... | |
#include "swift/Driver/Job.h" // for CommandOutput (ptr only), Job | |
#include "swift/Driver/Util.h" // for FilelistInfo, InputPair | |
#include "swift/Option/Options.h" // for ID | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
namespace swift { class DiagnosticEngine; } // lines 27-27 | |
namespace swift { namespace driver { class Compilation; } } // lines 31-31 | |
namespace swift { namespace driver { class Driver; } } // lines 32-32 | |
namespace swift { namespace driver { class OutputInfo; } } // lines 34-34 | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/ToolChain.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for strcmp, size_t | |
#include "__errc" // for errc, errc::invalid_argument | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "memory" // for unique_ptr, make_unique | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "system_error" // for error_code | |
/Users/varun/foss-swift/swift/lib/Driver/ToolChain.cpp should remove these lines: | |
- #include "llvm/ADT/STLExtras.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/ToolChain.cpp: | |
#include "swift/Driver/ToolChain.h" | |
#include <assert.h> // for assert | |
#include <string.h> // for strcmp, size_t | |
#include "__errc" // for errc, errc::invalid_argument | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SetVector.h" // for SmallSetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for DerivedArgList, ArgList | |
#include "llvm/Remarks/RemarkFormat.h" // for Format, parseFormat, Format:... | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for createTemporaryFile | |
#include "llvm/Support/Path.h" // for parent_path | |
#include "llvm/Support/Program.h" // for findProgramByName, commandLi... | |
#include "memory" // for unique_ptr, make_unique | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Driver/Compilation.h" // for Compilation, PreserveOnSignal | |
#include "swift/Driver/Driver.h" // for OutputInfo, Driver, OutputIn... | |
#include "swift/Driver/Job.h" // for Job, Job::ResponseFileInfo | |
#include "system_error" // for error_code | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/ToolChains.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "string" // for basic_string | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction (ptr only) | |
namespace llvm { class VersionTuple; } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace swift { namespace driver { class CommandOutput; } } | |
namespace swift { namespace driver { class Driver; } } | |
namespace swift { namespace driver { class OutputInfo; } } | |
/Users/varun/foss-swift/swift/lib/Driver/ToolChains.h should remove these lines: | |
- #include "llvm/Option/ArgList.h" // lines 19-19 | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/ToolChains.h: | |
#include "clang/Driver/DarwinSDKInfo.h" // for DarwinSDKInfo | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Option/Option.h" // for ArgStringList | |
#include "llvm/Support/Compiler.h" // for LLVM_LIBRARY_VISIBILITY | |
#include "string" // for basic_string | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction (ptr only) | |
#include "swift/Driver/ToolChain.h" // for ToolChain::InvocationInfo | |
namespace llvm { class VersionTuple; } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace swift { class DiagnosticEngine; } // lines 23-23 | |
namespace swift { namespace driver { class CommandOutput; } } | |
namespace swift { namespace driver { class Driver; } } | |
namespace swift { namespace driver { class OutputInfo; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/ToolChains.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl, SmallVector | |
#include "llvm/ADT/Twine.h" // for Twine, operator+ | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for cast | |
#include "llvm/Support/Error.h" // for Expected, consumeError | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_string_ostream | |
#include "swift/Basic/FileTypes.h" // for ID, TY_SwiftModuleFile, TY_N... | |
#include "swift/Driver/Util.h" // for FilelistInfo, FilelistInfo::... | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Driver/ToolChains.cpp should remove these lines: | |
- #include "clang/Basic/Version.h" // lines 26-26 | |
- #include "clang/Driver/Util.h" // lines 27-27 | |
- #include "llvm/ADT/StringSwitch.h" // lines 29-29 | |
- #include "llvm/ProfileData/InstrProf.h" // lines 32-32 | |
- #include "llvm/Support/Program.h" // lines 36-36 | |
- #include "swift/Basic/Dwarf.h" // lines 15-15 | |
- #include "swift/Basic/Range.h" // lines 18-18 | |
- #include "swift/Basic/TaskQueue.h" // lines 20-20 | |
- #include "swift/Config.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/ToolChains.cpp: | |
#include "ToolChains.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVectorImpl, SmallVector | |
#include "llvm/ADT/Twine.h" // for Twine, operator+ | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList, operator==, operator!= | |
#include "llvm/Support/Casting.h" // for cast | |
#include "llvm/Support/Error.h" // for Expected, consumeError | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/FileSystem.h" // for exists, make_absolute | |
#include "llvm/Support/Path.h" // for append, remove_filename | |
#include "llvm/Support/Process.h" // for Process | |
#include "llvm/Support/raw_ostream.h" // for raw_string_ostream | |
#include "swift/Basic/FileTypes.h" // for ID, TY_SwiftModuleFile, TY_N... | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
#include "swift/Basic/Platform.h" // for getPlatformNameForTriple | |
#include "swift/Basic/STLExtras.h" // for interleave | |
#include "swift/Driver/Compilation.h" // for Compilation, Compilation::NE... | |
#include "swift/Driver/Driver.h" // for OutputInfo, OutputInfo::Mode | |
#include "swift/Driver/Job.h" // for CommandOutput, Job, Job::Env... | |
#include "swift/Driver/Util.h" // for FilelistInfo, FilelistInfo::... | |
#include "swift/Option/Options.h" // for OPT_import_objc_header, OPT_... | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/UnixToolChains.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::aarch64 | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Option.h" // for ArgStringList, Option | |
#include "llvm/Support/ErrorHandling.h" // for report_fatal_error, llvm_... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "string" // for basic_string, operator+ | |
#include "swift/Basic/FileTypes.h" // for TY_Object, TY_AutolinkFile | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator& | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind, SanitizerK... | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction, Aut... | |
#include "swift/Driver/ToolChain.h" // for ToolChain::JobContext | |
#include "swift/Driver/Util.h" // for LinkKind, LinkKind::Execu... | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/Driver/UnixToolChains.cpp should remove these lines: | |
- #include "clang/Basic/Version.h" // lines 26-26 | |
- #include "clang/Driver/Util.h" // lines 27-27 | |
- #include "llvm/ADT/StringSwitch.h" // lines 28-28 | |
- #include "llvm/Support/Process.h" // lines 34-34 | |
- #include "swift/Basic/Dwarf.h" // lines 15-15 | |
- #include "swift/Basic/Range.h" // lines 18-18 | |
- #include "swift/Basic/TaskQueue.h" // lines 19-19 | |
- #include "swift/Config.h" // lines 20-20 | |
- #include "swift/Driver/Compilation.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/UnixToolChains.cpp: | |
#include <assert.h> // for assert | |
#include "ToolChains.h" // for GenericUnix, Android, Cygwin | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::aarch64 | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList | |
#include "llvm/Option/Option.h" // for ArgStringList, Option | |
#include "llvm/ProfileData/InstrProf.h" // for getInstrProfRuntimeHookVa... | |
#include "llvm/Support/ErrorHandling.h" // for report_fatal_error, llvm_... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for is_regular_file | |
#include "llvm/Support/Path.h" // for append, remove_filename | |
#include "llvm/Support/Program.h" // for findProgramByName | |
#include "string" // for basic_string, operator+ | |
#include "swift/Basic/FileTypes.h" // for TY_Object, TY_AutolinkFile | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator& | |
#include "swift/Basic/Platform.h" // for getMajorArchitectureName | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind, SanitizerK... | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction, Aut... | |
#include "swift/Driver/Driver.h" // for OutputInfo | |
#include "swift/Driver/Job.h" // for CommandOutput, Job | |
#include "swift/Driver/ToolChain.h" // for ToolChain::JobContext | |
#include "swift/Driver/Util.h" // for LinkKind, LinkKind::Execu... | |
#include "swift/Option/Options.h" // for OPT_no_static_executable | |
#include "swift/Option/SanitizerOptions.h" // for getSanitizerList | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/Driver/WindowsToolChains.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Option.h" // for ArgStringList, Option | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "string" // for basic_string, operator+ | |
#include "swift/AST/IRGenOptions.h" // for IRGenDebugInfoFormat, IRGenD... | |
#include "swift/Basic/FileTypes.h" // for TY_Object, TY_Image | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator& | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind, SanitizerKind... | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction, Static... | |
#include "swift/Driver/ToolChain.h" // for ToolChain::JobContext, ToolC... | |
#include "swift/Driver/Util.h" // for LinkKind, LinkKind::Executable | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/Driver/WindowsToolChains.cpp should remove these lines: | |
- #include "clang/Basic/Version.h" // lines 25-25 | |
- #include "clang/Driver/Util.h" // lines 26-26 | |
- #include "llvm/ADT/StringSwitch.h" // lines 27-27 | |
- #include "llvm/Support/FileSystem.h" // lines 31-31 | |
- #include "llvm/Support/Process.h" // lines 33-33 | |
- #include "swift/Basic/Dwarf.h" // lines 15-15 | |
- #include "swift/Basic/Range.h" // lines 18-18 | |
- #include "swift/Basic/TaskQueue.h" // lines 19-19 | |
- #include "swift/Config.h" // lines 20-20 | |
- #include "swift/Driver/Compilation.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Driver/WindowsToolChains.cpp: | |
#include <assert.h> // for assert | |
#include "ToolChains.h" // for Windows | |
#include "iosfwd" // for string | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList | |
#include "llvm/Option/Option.h" // for ArgStringList, Option | |
#include "llvm/ProfileData/InstrProf.h" // for getInstrProfRuntimeHookVarName | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/Path.h" // for append, remove_filename | |
#include "llvm/Support/Program.h" // for findProgramByName | |
#include "string" // for basic_string, operator+ | |
#include "swift/AST/IRGenOptions.h" // for IRGenDebugInfoFormat, IRGenD... | |
#include "swift/Basic/FileTypes.h" // for TY_Object, TY_Image | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for OptionSet, operator& | |
#include "swift/Basic/Platform.h" // for getMajorArchitectureName | |
#include "swift/Basic/Sanitizers.h" // for SanitizerKind, SanitizerKind... | |
#include "swift/Driver/Action.h" // for DynamicLinkJobAction, Static... | |
#include "swift/Driver/Driver.h" // for OutputInfo | |
#include "swift/Driver/Job.h" // for CommandOutput | |
#include "swift/Driver/ToolChain.h" // for ToolChain::JobContext, ToolC... | |
#include "swift/Driver/Util.h" // for LinkKind, LinkKind::Executable | |
#include "swift/Option/Options.h" // for OPT_Fsystem, OPT_use_ld, OPT_F | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendInputsConverter.h should add these lines: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl ... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "memory" // for unique_ptr | |
#include "utility" // for pair | |
namespace llvm { namespace opt { class Arg; } } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DiagnosticEngine; } | |
namespace swift { class FrontendInputsAndOutputs; } | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendInputsConverter.h should remove these lines: | |
- #include "llvm/Option/ArgList.h" // lines 20-20 | |
- #include "swift/AST/DiagnosticConsumer.h" // lines 16-16 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 17-17 | |
- #include "swift/Frontend/FrontendOptions.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendInputsConverter.h: | |
#include <set> // for set | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl ... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "memory" // for unique_ptr | |
#include "utility" // for pair | |
namespace llvm { namespace opt { class Arg; } } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DiagnosticEngine; } | |
namespace swift { class FrontendInputsAndOutputs; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendInputsConverter.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "__functional_base" // for less | |
#include "algorithm" // for move | |
#include "iosfwd" // for string | |
#include "iterator" // for back_insert_ite... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/OptSpecifier.h" // for opt | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "new" // for operator new | |
#include "set" // for set | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for cannot_open_file | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "system_error" // for error_code | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_re... | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendInputsConverter.cpp should remove these lines: | |
- #include "llvm/Option/Option.h" // lines 24-24 | |
- #include "llvm/Support/ErrorHandling.h" // lines 25-25 | |
- #include "llvm/Support/FileSystem.h" // lines 26-26 | |
- #include "llvm/Support/Path.h" // lines 28-28 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/Frontend/FrontendOptions.h" // lines 18-18 | |
- #include "swift/Parse/Lexer.h" // lines 20-20 | |
- #include "swift/Strings.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendInputsConverter.cpp: | |
#include "ArgsToFrontendInputsConverter.h" | |
#include <assert.h> // for assert | |
#include "ArgsToFrontendOutputsConverter.h" // for OutputFilesComp... | |
#include "__functional_base" // for less | |
#include "algorithm" // for move | |
#include "iosfwd" // for string | |
#include "iterator" // for back_insert_ite... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList | |
#include "llvm/Option/OptSpecifier.h" // for opt | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/LineIterator.h" // for line_iterator | |
#include "new" // for operator new | |
#include "set" // for set | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for cannot_open_file | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/Option/Options.h" // for OPT_primary_file | |
#include "system_error" // for error_code | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_re... | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOptionsConverter.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "memory" // for unique_ptr | |
#include "string" // for basic_string | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class DiagnosticEngine; } | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOptionsConverter.h should remove these lines: | |
- #include "llvm/Option/ArgList.h" // lines 20-20 | |
- #include "swift/AST/DiagnosticConsumer.h" // lines 16-16 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 17-17 | |
- #include "swift/Option/Options.h" // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOptionsConverter.h: | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "memory" // for unique_ptr | |
#include "string" // for basic_string | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions, Fronten... | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class DiagnosticEngine; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOptionsConverter.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string> // for char_traits | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Statistic.h" // for LLVM_ENABLE_STATS | |
#include "llvm/ADT/StringRef.h" // for StringRef, oper... | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_bad_modul... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOu... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "type_traits" // for move, remove_re... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class MemoryBuffer; } | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOptionsConverter.cpp should remove these lines: | |
- #include "llvm/ADT/STLExtras.h" // lines 24-24 | |
- #include "llvm/ADT/Triple.h" // lines 25-25 | |
- #include "llvm/Support/LineIterator.h" // lines 30-30 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 17-17 | |
- #include "swift/Basic/Platform.h" // lines 18-18 | |
- #include "swift/Frontend/Frontend.h" // lines 19-19 | |
- #include "swift/Option/SanitizerOptions.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOptionsConverter.cpp: | |
#include "ArgsToFrontendOptionsConverter.h" | |
#include <assert.h> // for assert | |
#include <string> // for char_traits | |
#include "ArgsToFrontendInputsConverter.h" // for ArgsToFrontendI... | |
#include "ArgsToFrontendOutputsConverter.h" // for ArgsToFrontendO... | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Statistic.h" // for LLVM_ENABLE_STATS | |
#include "llvm/ADT/StringRef.h" // for StringRef, oper... | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList | |
#include "llvm/Option/Option.h" // for Option | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBUTE_... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/FileSystem.h" // for is_directory | |
#include "llvm/Support/Path.h" // for stem | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_bad_modul... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOu... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "swift/Option/Options.h" // for options, OPT_mo... | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Strings.h" // for STDLIB_NAME | |
#include "type_traits" // for move, remove_re... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class MemoryBuffer; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOutputsConverter.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/Basic/FileTypes.h" // for ID | |
namespace llvm { namespace opt { class Arg; } } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace swift { class DiagnosticEngine; } | |
namespace swift { class FrontendInputsAndOutputs; } | |
namespace swift { class InputFile; } | |
namespace swift { struct SupplementaryOutputPaths; } | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOutputsConverter.h should remove these lines: | |
- #include "llvm/Option/ArgList.h" // lines 22-22 | |
- #include "swift/AST/DiagnosticConsumer.h" // lines 16-16 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 17-17 | |
- #include "swift/Basic/LLVM.h" // lines 18-18 | |
- #include "swift/Basic/SupplementaryOutputPaths.h" // lines 19-19 | |
- namespace swift { class OutputFileMap; } // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOutputsConverter.h: | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/Basic/FileTypes.h" // for ID | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions, Fronten... | |
#include "swift/Option/Options.h" // for ID | |
namespace llvm { namespace opt { class Arg; } } | |
namespace llvm { namespace opt { class ArgList; } } | |
namespace swift { class DiagnosticEngine; } | |
namespace swift { class FrontendInputsAndOutputs; } | |
namespace swift { class InputFile; } | |
namespace swift { struct SupplementaryOutputPaths; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOutputsConverter.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/DenseMap.h" // for DenseMapIterator | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Error.h" // for Expected, toString | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for cannot_open_file | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/Range.h" // for make_range | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOu... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_re... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOutputsConverter.cpp should remove these lines: | |
- #include "ArgsToFrontendInputsConverter.h" // lines 14-14 | |
- #include "llvm/ADT/STLExtras.h" // lines 23-23 | |
- #include "llvm/ADT/Triple.h" // lines 24-24 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/Basic/Platform.h" // lines 18-18 | |
- #include "swift/Frontend/Frontend.h" // lines 19-19 | |
- #include "swift/Option/SanitizerOptions.h" // lines 21-21 | |
- #include "swift/Strings.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ArgsToFrontendOutputsConverter.cpp: | |
#include "ArgsToFrontendOutputsConverter.h" | |
#include <assert.h> // for assert | |
#include "ArgsToFrontendOptionsConverter.h" // for ArgsToFrontendO... | |
#include "llvm/ADT/DenseMap.h" // for DenseMapIterator | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Option/Arg.h" // for Arg | |
#include "llvm/Option/ArgList.h" // for ArgList | |
#include "llvm/Option/Option.h" // for Option | |
#include "llvm/Support/Error.h" // for Expected, toString | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for is_directory | |
#include "llvm/Support/LineIterator.h" // for line_iterator | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for replace_extension | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for cannot_open_file | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OutputFileMap.h" // for TypeToPathMap | |
#include "swift/Basic/Range.h" // for make_range | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOu... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/Option/Options.h" // for ID, OPT_emit_de... | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remove_re... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/DependencyVerifier.cpp should add these lines: | |
#include <_ctype.h> // for isspace | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <string.h> // for strlen, size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapE... | |
#include "llvm/ADT/StringRef.h" // for StringRef, StringRef:... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SMLoc.h" // for SMLoc | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InF... | |
#include "swift/AST/DiagnosticsFrontend.def" // for missing_member_depend... | |
#include "swift/AST/Evaluator.h" // for Evaluator | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyCollector | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSource... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for move, remove_referenc... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class FileUnit; } | |
/Users/varun/foss-swift/swift/lib/Frontend/DependencyVerifier.cpp should remove these lines: | |
- #include "llvm/Support/FormatVariadic.h" // lines 30-30 | |
- #include "swift/AST/ASTMangler.h" // lines 19-19 | |
- #include "swift/AST/ASTPrinter.h" // lines 20-20 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 21-21 | |
- #include "swift/Basic/OptionSet.h" // lines 23-23 | |
- #include "swift/Demangling/Demangler.h" // lines 24-24 | |
- #include "swift/Parse/Lexer.h" // lines 26-26 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/DependencyVerifier.cpp: | |
#include <_ctype.h> // for isspace | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <string.h> // for strlen, size_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapE... | |
#include "llvm/ADT/StringRef.h" // for StringRef, StringRef:... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SMLoc.h" // for SMLoc | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine, InF... | |
#include "swift/AST/DiagnosticsFrontend.def" // for missing_member_depend... | |
#include "swift/AST/Evaluator.h" // for Evaluator | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyCollector | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSource... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Frontend/DiagnosticVerifier.h" // for verifyDependencies | |
#include "type_traits" // for move, remove_referenc... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class FileUnit; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Frontend/DiagnosticVerifier.h should add these lines: | |
#include "algorithm" // for sort | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for swap, basic_string, operator< | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/include/swift/Frontend/DiagnosticVerifier.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 23-23 | |
- namespace swift { class DependencyTracker; } // lines 26-26 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Frontend/DiagnosticVerifier.h: | |
#include "algorithm" // for sort | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for swap, basic_string, operator< | |
#include "swift/AST/DiagnosticConsumer.h" // for DiagnosticInfo::FixIt, Dia... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "vector" // for vector | |
namespace swift { class FileUnit; } // lines 27-27 | |
namespace swift { class SourceFile; } // lines 29-29 | |
namespace swift { class SourceManager; } // lines 28-28 | |
namespace swift { struct ExpectedFixIt; } // lines 37-37 | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/DiagnosticVerifier.cpp should add these lines: | |
#include <_ctype.h> // for isspace | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen, size_t | |
#include <memory> // for allocator | |
#include "iterator" // for back_insert_iterator, back_... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SMLoc.h" // for SMLoc, SMRange | |
#include "llvm/Support/SourceMgr.h" // for SMDiagnostic, SMFixIt, Sour... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/STLExtras.h" // for interleave, removeAdjacentIf | |
#include "system_error" // for error_code | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/Frontend/DiagnosticVerifier.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/DiagnosticVerifier.cpp: | |
#include "swift/Frontend/DiagnosticVerifier.h" | |
#include <_ctype.h> // for isspace | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen, size_t | |
#include <memory> // for allocator | |
#include "iterator" // for back_insert_iterator, back_... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for erase_if | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/FileSystem.h" // for F_None, OpenFlags | |
#include "llvm/Support/FormatVariadic.h" // for formatv, formatv_object | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for stem | |
#include "llvm/Support/SMLoc.h" // for SMLoc, SMRange | |
#include "llvm/Support/SourceMgr.h" // for SMDiagnostic, SMFixIt, Sour... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_string_ost... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/STLExtras.h" // for interleave, removeAdjacentIf | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "system_error" // for error_code | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Frontend/Frontend.h should add these lines: | |
#include <assert.h> // for assert | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "string" // for basic_string | |
#include "swift/AST/ModuleLoader.h" // for DependencyTracker | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputs... | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "swift/Serialization/SerializationOptions.h" // for SerializationO... | |
#include "type_traits" // for move | |
#include "utility" // for make_pair, pair | |
#include "vector" // for vector | |
namespace llvm { namespace vfs { class FileSystem; } } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
namespace swift { class ASTContext; } | |
namespace swift { class CodeCompletionCallbacksFactory; } | |
namespace swift { class DiagnosticConsumer; } | |
namespace swift { class DiagnosticVerifier; } | |
namespace swift { class PrimarySpecificPaths; } | |
namespace swift { class SyntaxParsingCache; } | |
namespace swift { class UnifiedStatsReporter; } | |
namespace swift { struct SupplementaryOutputPaths; } | |
/Users/varun/foss-swift/swift/include/swift/Frontend/Frontend.h should remove these lines: | |
- #include "clang/Basic/FileManager.h" // lines 50-50 | |
- #include "llvm/Option/ArgList.h" // lines 47-47 | |
- #include "llvm/Support/Host.h" // lines 48-48 | |
- #include "swift/AST/DiagnosticConsumer.h" // lines 21-21 | |
- #include "swift/ClangImporter/ClangImporter.h" // lines 32-32 | |
- #include "swift/Frontend/DiagnosticVerifier.h" // lines 34-34 | |
- #include "swift/Parse/CodeCompletionCallbacks.h" // lines 38-38 | |
- #include "swift/Parse/Parser.h" // lines 39-39 | |
- #include "swift/Parse/SyntaxParsingCache.h" // lines 40-40 | |
- #include "swift/Sema/SourceLoader.h" // lines 41-41 | |
- #include "swift/Subsystems.h" // lines 43-43 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Frontend/Frontend.h: | |
#include <assert.h> // for assert | |
#include <memory> // for unique_ptr | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCn... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/LinkLibrary.h" // for LinkLibrary (p... | |
#include "swift/AST/Module.h" // for ImplicitStdlib... | |
#include "swift/AST/ModuleLoader.h" // for DependencyTracker | |
#include "swift/AST/SILOptions.h" // for SILOptions | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOpti... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/DiagnosticOptions.h" // for DiagnosticOptions | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/NullablePtr.h" // for NullablePtr | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImporterO... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputs... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "swift/Frontend/ModuleInterfaceSupport.h" // for ModuleInterfac... | |
#include "swift/Migrator/MigratorOptions.h" // for MigratorOptions | |
#include "swift/Serialization/SerializationOptions.h" // for SerializationO... | |
#include "swift/Serialization/Validation.h" // for ExtendedValida... | |
#include "swift/TBDGen/TBDGen.h" // for TBDGenOptions | |
#include "type_traits" // for move | |
#include "utility" // for make_pair, pair | |
#include "vector" // for vector | |
namespace llvm { namespace vfs { class FileSystem; } } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
namespace swift { class ASTContext; } | |
namespace swift { class CodeCompletionCallbacksFactory; } | |
namespace swift { class DiagnosticConsumer; } | |
namespace swift { class DiagnosticVerifier; } | |
namespace swift { class MemoryBufferSerializedModuleLoader; } // lines 57-57 | |
namespace swift { class PrimarySpecificPaths; } | |
namespace swift { class SILModule; } // lines 58-58 | |
namespace swift { class SerializedModuleLoader; } // lines 56-56 | |
namespace swift { class SyntaxParsingCache; } | |
namespace swift { class UnifiedStatsReporter; } | |
namespace swift { namespace Lowering { class TypeConverter; } } // lines 61-61 | |
namespace swift { struct SupplementaryOutputPaths; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/Frontend.cpp should add these lines: | |
#include <string> // for char_traits | |
#include "__errc" // for errc, errc::... | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreach... | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_open_i... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/OptimizationMode.h" // for Optimization... | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpeci... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for Supplementar... | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/Frontend/DiagnosticVerifier.h" // for DiagnosticVe... | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "swift/Sema/SourceLoader.h" // for SourceLoader | |
#include "system_error" // for error_code | |
namespace clang { class SourceManager; } | |
namespace swift { class FileUnit; } | |
/Users/varun/foss-swift/swift/lib/Frontend/Frontend.cpp should remove these lines: | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 20-20 | |
- #include "swift/AST/DiagnosticsSema.h" // lines 21-21 | |
- #include "swift/AST/FileSystem.h" // lines 22-22 | |
- #include "swift/AST/TypeCheckRequests.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/Frontend.cpp: | |
#include "swift/Frontend/Frontend.h" | |
#include <string> // for char_traits | |
#include "__errc" // for errc, errc::... | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Hashing.h" // for hash_combine | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/CommandLine.h" // for ParseCommand... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreach... | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for append, file... | |
#include "llvm/Support/Process.h" // for Process | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_open_i... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/IncrementalRanges.h" // for CompiledSour... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/OptimizationMode.h" // for Optimization... | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpeci... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStats... | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for Supplementar... | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/Frontend/DiagnosticVerifier.h" // for DiagnosticVe... | |
#include "swift/Frontend/ModuleInterfaceLoader.h" // for ModuleInterf... | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "swift/SILOptimizer/PassManager/Passes.h" // for performSILIn... | |
#include "swift/SILOptimizer/Utils/Generics.h" // for checkComplet... | |
#include "swift/Sema/SourceLoader.h" // for SourceLoader | |
#include "swift/Serialization/SerializationOptions.h" // for Serializatio... | |
#include "swift/Serialization/SerializedModuleLoader.h" // for ModuleLoadin... | |
#include "swift/Strings.h" // for SWIFT_ONONE_... | |
#include "swift/Subsystems.h" // for bindExtensions | |
#include "system_error" // for error_code | |
namespace clang { class SourceManager; } | |
namespace swift { class FileUnit; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Frontend/FrontendInputsAndOutputs.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class PrimarySpecificPaths; } | |
namespace swift { struct SupplementaryOutputPaths; } | |
/Users/varun/foss-swift/swift/include/swift/Frontend/FrontendInputsAndOutputs.h should remove these lines: | |
- #include <string> // lines 21-21 | |
- #include "llvm/ADT/Hashing.h" // lines 19-19 | |
- #include "swift/Basic/PrimarySpecificPaths.h" // lines 16-16 | |
- #include "swift/Basic/SupplementaryOutputPaths.h" // lines 17-17 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Frontend/FrontendInputsAndOutputs.h: | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
namespace llvm { class MemoryBuffer; } // lines 25-25 | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class DiagnosticEngine; } // lines 30-30 | |
namespace swift { class PrimarySpecificPaths; } | |
namespace swift { struct SupplementaryOutputPaths; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/FrontendInputsAndOutputs.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "string" // for basic_string, oper... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_mode_require... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOutpu... | |
#include "type_traits" // for remove_reference<>... | |
#include "utility" // for make_pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Frontend/FrontendInputsAndOutputs.cpp should remove these lines: | |
- #include "llvm/Option/Arg.h" // lines 23-23 | |
- #include "llvm/Option/ArgList.h" // lines 24-24 | |
- #include "llvm/Option/Option.h" // lines 25-25 | |
- #include "llvm/Support/LineIterator.h" // lines 28-28 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 15-15 | |
- #include "swift/Frontend/FrontendOptions.h" // lines 19-19 | |
- #include "swift/Parse/Lexer.h" // lines 21-21 | |
- #include "swift/Strings.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/FrontendInputsAndOutputs.cpp: | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" | |
#include <assert.h> // for assert | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/FileSystem.h" // for is_directory | |
#include "llvm/Support/Path.h" // for extension | |
#include "string" // for basic_string, oper... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_mode_require... | |
#include "swift/Basic/FileTypes.h" // for lookupTypeForExten... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpecificPaths | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOutpu... | |
#include "swift/Option/Options.h" // for opt | |
#include "type_traits" // for remove_reference<>... | |
#include "utility" // for make_pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Frontend/FrontendOptions.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "utility" // for pair | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class PrimarySpecificPaths; } | |
/Users/varun/foss-swift/swift/include/swift/Frontend/FrontendOptions.h should remove these lines: | |
- #include "swift/Basic/Version.h" // lines 17-17 | |
- namespace llvm { class MemoryBuffer; } // lines 26-26 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Frontend/FrontendOptions.h: | |
#include <string> // for basic_string | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Hashing.h" // for hash_value, has... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Basic/FileTypes.h" // for ID | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "utility" // for pair | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class PrimarySpecificPaths; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/FrontendOptions.cpp should add these lines: | |
#include "string" // for basic_string | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpecificPaths | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOutpu... | |
/Users/varun/foss-swift/swift/lib/Frontend/FrontendOptions.cpp should remove these lines: | |
- #include "llvm/Option/Arg.h" // lines 19-19 | |
- #include "llvm/Option/ArgList.h" // lines 20-20 | |
- #include "llvm/Option/Option.h" // lines 21-21 | |
- #include "llvm/Support/FileSystem.h" // lines 23-23 | |
- #include "llvm/Support/LineIterator.h" // lines 24-24 | |
- #include "llvm/Support/Path.h" // lines 25-25 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 15-15 | |
- #include "swift/Parse/Lexer.h" // lines 17-17 | |
- #include "swift/Strings.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/FrontendOptions.cpp: | |
#include "swift/Frontend/FrontendOptions.h" | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for basic_string | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpecificPaths | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryOutpu... | |
#include "swift/Option/Options.h" // for opt | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceBuilder.h should add these lines: | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngi... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class CompilerInstance; } | |
namespace swift { struct InterfaceSubContextDelegate; } | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceBuilder.h should remove these lines: | |
- #include "llvm/Support/StringSaver.h" // lines 21-21 | |
- #include "swift/AST/ModuleLoader.h" // lines 19-19 | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
- #include "swift/Frontend/Frontend.h" // lines 18-18 | |
- namespace llvm { namespace vfs { class FileSystem; } } // lines 25-25 | |
- namespace swift { class DiagnosticEngine; } // lines 31-31 | |
- namespace swift { class LangOptions; } // lines 32-32 | |
- namespace swift { class SearchPathOptions; } // lines 33-33 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceBuilder.h: | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "memory" // for unique_ptr | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngi... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Serialization/SerializationOptions.h" // for SerializationO... | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class CompilerInstance; } | |
namespace swift { class DependencyTracker; } // lines 34-34 | |
namespace swift { struct InterfaceSubContextDelegate; } | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceBuilder.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "chrono" // for duration, time... | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCn... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/PrettyStackTrace.h" // for RestorePrettyS... | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticsFrontend.def" // for interface_file... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/ModuleLoader.h" // for DependencyTracker | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOptions | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpecifi... | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryO... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputs... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/Subsystems.h" // for performASTLowe... | |
#include "type_traits" // for move, remove_r... | |
namespace swift { class SILOptions; } | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceBuilder.cpp should remove these lines: | |
- #include "clang/Frontend/CompilerInstance.h" // lines 27-27 | |
- #include "clang/Lex/PreprocessorOptions.h" // lines 28-28 | |
- #include "llvm/ADT/Hashing.h" // lines 29-29 | |
- #include "llvm/Support/CommandLine.h" // lines 32-32 | |
- #include "llvm/Support/Errc.h" // lines 35-35 | |
- #include "llvm/Support/Regex.h" // lines 36-36 | |
- #include "llvm/Support/StringSaver.h" // lines 37-37 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 18-18 | |
- #include "swift/AST/FileSystem.h" // lines 20-20 | |
- #include "swift/AST/Module.h" // lines 21-21 | |
- #include "swift/Frontend/ModuleInterfaceLoader.h" // lines 15-15 | |
- #include "swift/SILOptimizer/PassManager/Passes.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceBuilder.cpp: | |
#include "ModuleInterfaceBuilder.h" | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "chrono" // for duration, time... | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCn... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/CrashRecoveryContext.h" // for CrashRecoveryC... | |
#include "llvm/Support/Debug.h" // for dbgs, LLVM_DEBUG | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/LockFileManager.h" // for LockFileManager | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for native, is_sep... | |
#include "llvm/Support/PrettyStackTrace.h" // for RestorePrettyS... | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "llvm/Support/xxhash.h" // for xxHash64 | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/DiagnosticsFrontend.def" // for interface_file... | |
#include "swift/AST/DiagnosticsSema.h" // for module_interfa... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/ModuleLoader.h" // for DependencyTracker | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOptions | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpecifi... | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for SupplementaryO... | |
#include "swift/Frontend/Frontend.h" // for CompilerInstance | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputs... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/Frontend/ModuleInterfaceSupport.h" // for getSwiftInterf... | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/Serialization/SerializationOptions.h" // for SerializationO... | |
#include "swift/Subsystems.h" // for performASTLowe... | |
#include "type_traits" // for move, remove_r... | |
namespace swift { class SILOptions; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Frontend/ModuleInterfaceLoader.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Allocator.h" // for BumpPtrAlloc... | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEn... | |
#include "swift/AST/ModuleLoader.h" // for DependencyTr... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for Supplementar... | |
#include "system_error" // for error_code | |
#include "vector" // for vector | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
namespace swift { class ASTContext; } | |
namespace swift { class ClangModuleLoader; } | |
namespace swift { class Identifier; } | |
/Users/varun/foss-swift/swift/include/swift/Frontend/ModuleInterfaceLoader.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 110-110 | |
- #include "swift/Frontend/ModuleInterfaceSupport.h" // lines 112-112 | |
- namespace clang { class CompilerInstance; } // lines 117-117 | |
- namespace swift { class CompilerInvocation; } // lines 128-128 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Frontend/ModuleInterfaceLoader.h: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Allocator.h" // for BumpPtrAlloc... | |
#include "llvm/Support/StringSaver.h" // for StringSaver | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEn... | |
#include "swift/AST/ModuleLoader.h" // for DependencyTr... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for Supplementar... | |
#include "swift/Frontend/Frontend.h" // for CompilerInvo... | |
#include "swift/Serialization/SerializedModuleLoader.h" // for ModuleLoadin... | |
#include "system_error" // for error_code | |
#include "vector" // for vector | |
namespace llvm { class MemoryBuffer; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace llvm { template <unsigned int InternalLen> class SmallString; } | |
namespace swift { class ASTContext; } | |
namespace swift { class ClangModuleLoader; } | |
namespace swift { class Identifier; } | |
namespace swift { class LangOptions; } // lines 126-126 | |
namespace swift { class SearchPathOptions; } // lines 127-127 | |
namespace unittest { class ModuleInterfaceLoaderTest; } // lines 121-121 | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceLoader.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "__errc" // for errc, errc::no... | |
#include "chrono" // for duration, time... | |
#include "clang/Frontend/Utils.h" // for DependencyColl... | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCn... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for create_directo... | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Regex.h" // for Regex | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/DeclContext.h" // for serialization | |
#include "swift/AST/DiagnosticConsumer.h" // for ForwardingDiag... | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_extracti... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOptions | |
#include "swift/Basic/DiagnosticOptions.h" // for DiagnosticOptions | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/STLExtras.h" // for hasPrefix | |
#include "swift/Basic/Version.h" // for Version, getSw... | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImporterO... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputs... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "type_traits" // for move, enable_i... | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceLoader.cpp should remove these lines: | |
- #include "clang/Basic/Module.h" // lines 25-25 | |
- #include "clang/Lex/HeaderSearch.h" // lines 28-28 | |
- #include "clang/Lex/Preprocessor.h" // lines 26-26 | |
- #include "llvm/Support/Errc.h" // lines 37-37 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/AST/Module.h" // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceLoader.cpp: | |
#include "swift/Frontend/ModuleInterfaceLoader.h" | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "ModuleInterfaceBuilder.h" // for ModuleInterfac... | |
#include "__errc" // for errc, errc::no... | |
#include "chrono" // for duration, time... | |
#include "clang/Frontend/CompilerInstance.h" // for CompilerInstance | |
#include "clang/Frontend/Utils.h" // for DependencyColl... | |
#include "clang/Lex/PreprocessorOptions.h" // for PreprocessorOp... | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Hashing.h" // for hash_code, has... | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRefCn... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for for_each, func... | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/CommandLine.h" // for TokenizeGNUCom... | |
#include "llvm/Support/Debug.h" // for dbgs, LLVM_DEBUG | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for create_directo... | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for append, const_... | |
#include "llvm/Support/Regex.h" // for Regex | |
#include "llvm/Support/VirtualFileSystem.h" // for FileSystem | |
#include "llvm/Support/YAMLTraits.h" // for IO, Input, ope... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "llvm/Support/xxhash.h" // for xxHash64 | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/DeclContext.h" // for serialization | |
#include "swift/AST/DiagnosticConsumer.h" // for ForwardingDiag... | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_extracti... | |
#include "swift/AST/DiagnosticsSema.h" // for serialization_... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/FileSystem.h" // for withOutputFile | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathOptions | |
#include "swift/Basic/DiagnosticOptions.h" // for DiagnosticOptions | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Platform.h" // for getTargetSpeci... | |
#include "swift/Basic/STLExtras.h" // for hasPrefix | |
#include "swift/Basic/Version.h" // for Version, getSw... | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImporterO... | |
#include "swift/Frontend/Frontend.h" // for CompilerInvoca... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputs... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
#include "swift/Frontend/ModuleInterfaceSupport.h" // for getSwiftInterf... | |
#include "swift/Serialization/SerializationOptions.h" // for SerializationO... | |
#include "swift/Serialization/Validation.h" // for Status, valida... | |
#include "type_traits" // for move, enable_i... | |
--- | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceSupport.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, Mutable... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for all_of, any_of | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringLiteral | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new, ope... | |
#include "string" // for basic_string | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.h" // for DeclAttribute (pt... | |
#include "swift/AST/DeclContext.h" // for DeclContext, Conf... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for module_interface_... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for operator<<, Ident... | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeWalker.h" // for TypeWalker::Action | |
#include "swift/AST/Types.h" // for ProtocolType, Typ... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/Version.h" // for getSwiftFullVersion | |
#include "type_traits" // for remove_reference<... | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceSupport.cpp should remove these lines: | |
- #include "clang/Basic/Module.h" // lines 29-29 | |
- #include "llvm/ADT/Hashing.h" // lines 30-30 | |
- #include "llvm/ADT/StringSet.h" // lines 32-32 | |
- #include "llvm/Support/Path.h" // lines 33-33 | |
- #include "llvm/Support/StringSaver.h" // lines 35-35 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/AST/DiagnosticsSema.h" // lines 17-17 | |
- #include "swift/AST/FileSystem.h" // lines 19-19 | |
- #include "swift/Frontend/Frontend.h" // lines 23-23 | |
- #include "swift/Frontend/PrintingDiagnosticConsumer.h" // lines 25-25 | |
- #include "swift/SILOptimizer/PassManager/Passes.h" // lines 26-26 | |
- #include "swift/Serialization/SerializationOptions.h" // lines 27-27 | |
- #include "swift/Serialization/Validation.h" // lines 28-28 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Frontend/ModuleInterfaceSupport.cpp: | |
#include <assert.h> // for assert | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, Mutable... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for all_of, any_of | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringLiteral | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Regex.h" // for Regex, Regex::New... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new, ope... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTPrinter.h" // for StreamPrinter | |
#include "swift/AST/AccessScope.h" // for AccessScope | |
#include "swift/AST/Attr.h" // for DeclAttribute (pt... | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, Conf... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for module_interface_... | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for operator<<, Ident... | |
#include "swift/AST/Module.h" // for ModuleDecl::Impor... | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeWalker.h" // for TypeWalker::Action | |
#include "swift/AST/Types.h" // for ProtocolType, Typ... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/STLExtras.h" // for interleave, Optio... | |
#include "swift/Basic/Version.h" // for getSwiftFullVersion | |
#include "swift/Frontend/ModuleInterfaceSupport.h" // for ModuleInterfaceOp... | |
#include "type_traits" // for remove_reference<... | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/FrontendTool/FrontendTool.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
/Users/varun/foss-swift/swift/include/swift/FrontendTool/FrontendTool.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
- namespace llvm { class Module; } // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/FrontendTool/FrontendTool.h: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class CompilerInstance; } // lines 29-29 | |
namespace swift { class CompilerInvocation; } // lines 28-28 | |
namespace swift { class SILModule; } // lines 30-30 | |
--- | |
/Users/varun/foss-swift/swift/lib/FrontendTool/FrontendTool.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for abort | |
#include "algorithm" // for lexicograph... | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRe... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for none_of | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIB... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for F_None, cre... | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/PrettyStackTrace.h" // for EnablePrett... | |
#include "llvm/Support/SourceMgr.h" // for SMDiagnostic | |
#include "llvm/Support/SwapByteOrder.h" // for sys | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AttrKind.h" // for AccessLevel | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModule... | |
#include "swift/AST/DiagnosticConsumer.h" // for DiagnosticC... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticE... | |
#include "swift/AST/DiagnosticsCommon.def" // for error_openi... | |
#include "swift/AST/DiagnosticsFrontend.def" // for tbd_only_su... | |
#include "swift/AST/Evaluator.h" // for Evaluator | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyC... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ModuleLoader.h" // for DependencyT... | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/SILOptions.h" // for SILOptions | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathO... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/DiagnosticOptions.h" // for DiagnosticO... | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Mangler.h" // for printMangli... | |
#include "swift/Basic/OptimizationMode.h" // for Optimizatio... | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpec... | |
#include "swift/Basic/STLExtras.h" // for for_each | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for Supplementa... | |
#include "swift/Basic/Version.h" // for Version | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImport... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInp... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOpt... | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/Syntax/RawSyntax.h" // for RawSyntax | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remov... | |
#include "vector" // for vector | |
namespace llvm { class GlobalVariable; } | |
namespace swift { class FileUnit; } | |
namespace swift { class OperatorDecl; } | |
namespace swift { class PrecedenceGroupDecl; } | |
/Users/varun/foss-swift/swift/lib/FrontendTool/FrontendTool.cpp should remove these lines: | |
- #include <unistd.h> // lines 93-93 | |
- #include "clang/AST/ASTContext.h" // lines 70-70 | |
- #include "llvm/Remarks/RemarkSerializer.h" // lines 78-78 | |
- #include "llvm/Support/Error.h" // lines 79-79 | |
- #include "llvm/Support/TargetSelect.h" // lines 83-83 | |
- #include "llvm/Support/Timer.h" // lines 84-84 | |
- #include "llvm/Support/YAMLTraits.h" // lines 85-85 | |
- #include "swift/AST/ASTMangler.h" // lines 37-37 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 29-29 | |
- #include "swift/AST/DiagnosticsSema.h" // lines 30-30 | |
- #include "swift/Basic/UUID.h" // lines 49-49 | |
- #include "swift/SIL/SILRemarkStreamer.h" // lines 65-65 | |
- #include "swift/Syntax/Serialization/SyntaxSerialization.h" // lines 66-66 | |
The full include-list for /Users/varun/foss-swift/swift/lib/FrontendTool/FrontendTool.cpp: | |
#include "swift/FrontendTool/FrontendTool.h" | |
#include <assert.h> // for assert | |
#include <stdlib.h> // for abort | |
#include <memory> // for unique_ptr | |
#include <unordered_set> // for unordered_set | |
#include <utility> // for pair, make_... | |
#include "ImportedModules.h" // for emitImporte... | |
#include "ScanDependencies.h" // for scanDepende... | |
#include "TBD.h" // for validateTBD | |
#include "algorithm" // for lexicograph... | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRe... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for none_of | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Statistic.h" // for EnableStati... | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/LLVMContext.h" // for LLVMContext | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IRReader/IRReader.h" // for parseIR | |
#include "llvm/Option/OptTable.h" // for OptTable | |
#include "llvm/Option/Option.h" // for HelpHidden | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIB... | |
#include "llvm/Support/ErrorHandling.h" // for report_fata... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/FileSystem.h" // for F_None, cre... | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for append, fil... | |
#include "llvm/Support/PrettyStackTrace.h" // for EnablePrett... | |
#include "llvm/Support/SourceMgr.h" // for SMDiagnostic | |
#include "llvm/Support/SwapByteOrder.h" // for sys | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "llvm/Target/TargetMachine.h" // for TargetMachine | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AttrKind.h" // for AccessLevel | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModule... | |
#include "swift/AST/DiagnosticConsumer.h" // for DiagnosticC... | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticE... | |
#include "swift/AST/DiagnosticsCommon.def" // for error_openi... | |
#include "swift/AST/DiagnosticsFrontend.def" // for tbd_only_su... | |
#include "swift/AST/Evaluator.h" // for Evaluator | |
#include "swift/AST/EvaluatorDependencies.h" // for DependencyC... | |
#include "swift/AST/FileSystem.h" // for withOutputFile | |
#include "swift/AST/FineGrainedDependencies.h" // for emitReferen... | |
#include "swift/AST/GenericSignatureBuilder.h" // for GenericSign... | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/IRGenRequests.h" // for GeneratedMo... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ModuleLoader.h" // for DependencyT... | |
#include "swift/AST/NameLookup.h" // for ASTScope | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/SILOptions.h" // for SILOptions | |
#include "swift/AST/SearchPathOptions.h" // for SearchPathO... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/TypeRefinementContext.h" // for TypeRefinem... | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/DiagnosticOptions.h" // for DiagnosticO... | |
#include "swift/Basic/Dwarf.h" // for DWARFVersion | |
#include "swift/Basic/Edit.h" // for SingleEdit | |
#include "swift/Basic/FileSystem.h" // for getFileOrSTDIN | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/JSONSerialization.h" // for Output, jso... | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/LLVMInitialize.h" // for INITIALIZE_... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Mangler.h" // for printMangli... | |
#include "swift/Basic/OptimizationMode.h" // for Optimizatio... | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/Platform.h" // for getSwiftRun... | |
#include "swift/Basic/PrettyStackTrace.h" // for PrettyStack... | |
#include "swift/Basic/PrimarySpecificPaths.h" // for PrimarySpec... | |
#include "swift/Basic/STLExtras.h" // for for_each | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/Statistic.h" // for UnifiedStat... | |
#include "swift/Basic/SupplementaryOutputPaths.h" // for Supplementa... | |
#include "swift/Basic/Timer.h" // for SharedTimer | |
#include "swift/Basic/Version.h" // for Version | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImport... | |
#include "swift/Frontend/DiagnosticVerifier.h" // for verifyDepen... | |
#include "swift/Frontend/Frontend.h" // for CompilerIns... | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInp... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOpt... | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/Frontend/ModuleInterfaceLoader.h" // for ModuleInter... | |
#include "swift/Frontend/ModuleInterfaceSupport.h" // for emitSwiftIn... | |
#include "swift/Frontend/PrintingDiagnosticConsumer.h" // for PrintingDia... | |
#include "swift/Frontend/SerializedDiagnosticConsumer.h" // for createConsumer | |
#include "swift/Immediate/Immediate.h" // for RunImmediately | |
#include "swift/Index/IndexRecord.h" // for indexAndRecord | |
#include "swift/Migrator/FixitFilter.h" // for FixitFilter | |
#include "swift/Migrator/Migrator.h" // for updateCodeA... | |
#include "swift/Option/Options.h" // for createSwift... | |
#include "swift/PrintAsObjC/PrintAsObjC.h" // for printAsObjC | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SILOptimizer/PassManager/Passes.h" // for runSILLower... | |
#include "swift/Serialization/SerializationOptions.h" // for Serializati... | |
#include "swift/Serialization/SerializedModuleLoader.h" // for SerializedA... | |
#include "swift/Subsystems.h" // for ModuleOrSou... | |
#include "swift/Syntax/RawSyntax.h" // for RawSyntax | |
#include "swift/Syntax/SyntaxNodes.h" // for SourceFileS... | |
#include "swift/TBDGen/TBDGen.h" // for enumeratePu... | |
#include "system_error" // for error_code | |
#include "type_traits" // for move, remov... | |
#include "vector" // for vector | |
namespace llvm { class GlobalVariable; } | |
namespace swift { class FileUnit; } | |
namespace swift { class OperatorDecl; } | |
namespace swift { class PrecedenceGroupDecl; } | |
--- | |
(/Users/varun/foss-swift/swift/lib/FrontendTool/ScanDependencies.h has correct #includes/fwd-decls) | |
/Users/varun/foss-swift/swift/lib/FrontendTool/ScanDependencies.cpp should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeA... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Path.h" // for replace_extension | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "string" // for basic_string | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/DiagnosticsCommon.def" // for error_opening_o... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "system_error" // for error_code | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/FrontendTool/ScanDependencies.cpp should remove these lines: | |
- #include "clang/Basic/Module.h" // lines 29-29 | |
- #include "llvm/ADT/StringMap.h" // lines 31-31 | |
- #include "swift/AST/Decl.h" // lines 14-14 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/Basic/STLExtras.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/FrontendTool/ScanDependencies.cpp: | |
#include "ScanDependencies.h" | |
#include <set> // for set | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeA... | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, Stri... | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/FileSystem.h" // for F_None | |
#include "llvm/Support/Path.h" // for replace_extension | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for error_opening_o... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl, Imp... | |
#include "swift/AST/ModuleDependencies.h" // for ModuleDependencyID | |
#include "swift/AST/ModuleLoader.h" // for DependencyTracker | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/FileTypes.h" // for getExtension | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/ClangImporter/ClangImporter.h" // for getModuleCacheP... | |
#include "swift/Frontend/Frontend.h" // for CompilerInstance | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/ModuleInterfaceLoader.h" // for InterfaceSubCon... | |
#include "swift/Strings.h" // for SWIFT_ONONE_SUP... | |
#include "system_error" // for error_code | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/FrontendTool/TBD.h should add these lines: | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
/Users/varun/foss-swift/swift/lib/FrontendTool/TBD.h should remove these lines: | |
- #include "swift/Frontend/FrontendOptions.h" // lines 16-16 | |
- namespace swift { class FrontendOptions; } // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/FrontendTool/TBD.h: | |
#include "swift/Frontend/InputFile.h" // for InputFileKind | |
namespace llvm { class Module; } // lines 20-20 | |
namespace llvm { class StringRef; } // lines 19-19 | |
namespace swift { class FileUnit; } // lines 24-24 | |
namespace swift { class ModuleDecl; } // lines 23-23 | |
namespace swift { struct TBDGenOptions; } // lines 26-26 | |
--- | |
/Users/varun/foss-swift/swift/lib/FrontendTool/TBD.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "algorithm" // for sort | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry, StringM... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_fd_ostream | |
#include "swift/AST/DiagnosticsCommon.def" // for error_opening_output | |
#include "swift/AST/DiagnosticsFrontend.def" // for symbol_in_ir_not_in_tbd | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "system_error" // for error_code | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/FrontendTool/TBD.cpp should remove these lines: | |
- #include "swift/AST/Decl.h" // lines 15-15 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 17-17 | |
- #include "swift/Frontend/FrontendOptions.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/FrontendTool/TBD.cpp: | |
#include "TBD.h" | |
#include <assert.h> // for assert | |
#include <vector> // for vector | |
#include "algorithm" // for sort | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry, StringM... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator< | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue | |
#include "llvm/IR/Mangler.h" // for Mangler | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IR/ValueSymbolTable.h" // for ValueSymbolTable | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/FileSystem.h" // for F_None | |
#include "llvm/Support/raw_ostream.h" // for raw_fd_ostream | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsCommon.def" // for error_opening_output | |
#include "swift/AST/DiagnosticsFrontend.def" // for symbol_in_ir_not_in_tbd | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/Basic/LLVM.h" // for dyn_cast, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Demangling/Demangle.h" // for demangleSymbolAsString | |
#include "swift/TBDGen/TBDGen.h" // for enumeratePublicSymbols | |
#include "system_error" // for error_code | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Index/Index.h should add these lines: | |
namespace swift { namespace index { class IndexDataConsumer; } } | |
/Users/varun/foss-swift/swift/include/swift/Index/Index.h should remove these lines: | |
- #include "swift/Index/IndexDataConsumer.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Index/Index.h: | |
namespace swift { class DeclContext; } // lines 21-21 | |
namespace swift { class ModuleDecl; } // lines 19-19 | |
namespace swift { class SourceFile; } // lines 20-20 | |
namespace swift { namespace index { class IndexDataConsumer; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/Index/Index.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t, ptrdiff_t | |
#include "algorithm" // for for_each, find, find_if | |
#include "clang/Index/IndexSymbol.h" // for SymbolRole, SymbolRoleSet | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for DenseMapInfo, PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrSetImpl | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator+= | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast, dyn_... | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, raw_... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTWalker.h" // for ReferenceMetaData | |
#include "swift/AST/Attr.h" // for CustomAttr, DeclAttributes | |
#include "swift/AST/DeclContext.h" // for DeclContext, IterableDecl... | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/FileUnit.h" // for LoadedFile, FileUnit | |
#include "swift/AST/Identifier.h" // for operator<<, Identifier | |
#include "swift/AST/RawComment.h" // for SingleRawComment, RawComment | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, AccessKind | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Witness.h" // for Witness | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, dyn_... | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSourceRange | |
#include "swift/Index/IndexDataConsumer.h" // for IndexDataConsumer, IndexD... | |
#include "swift/Index/IndexSymbol.h" // for IndexSymbol, getSymbolInf... | |
#include "type_traits" // for move, conditional<>::type | |
#include "utility" // for __unwrap_reference<>::type | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Index/Index.cpp should remove these lines: | |
- #include "llvm/ADT/APInt.h" // lines 31-31 | |
- #include "llvm/Support/FileSystem.h" // lines 34-34 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Index/Index.cpp: | |
#include "swift/Index/Index.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t, ptrdiff_t | |
#include <tuple> // for tuple, tie, make_tuple | |
#include "algorithm" // for for_each, find, find_if | |
#include "clang/Index/IndexSymbol.h" // for SymbolRole, SymbolRoleSet | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for DenseMapInfo, PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtrSetImpl | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator+= | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast, dyn_... | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, raw_... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTWalker.h" // for ReferenceMetaData | |
#include "swift/AST/Attr.h" // for CustomAttr, DeclAttributes | |
#include "swift/AST/Comment.h" // for getSingleDocComment, DocC... | |
#include "swift/AST/Decl.h" // for ValueDecl, AbstractStorag... | |
#include "swift/AST/DeclContext.h" // for DeclContext, IterableDecl... | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for ApplyExpr, CallExpr, Decl... | |
#include "swift/AST/FileUnit.h" // for LoadedFile, FileUnit | |
#include "swift/AST/Identifier.h" // for operator<<, Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl, FileUnitKind | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolConformance | |
#include "swift/AST/RawComment.h" // for SingleRawComment, RawComment | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/StorageImpl.h" // for AccessorKind, AccessKind | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeAlignments.h" // for PointerLikeTypeTraits | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for IdentTypeRepr, ComponentI... | |
#include "swift/AST/Types.h" // for TypeBase, MetatypeType | |
#include "swift/AST/USRGeneration.h" // for printAccessorUSR, printEx... | |
#include "swift/AST/Witness.h" // for Witness | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, dyn_... | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/StringExtras.h" // for StringScratchSpace | |
#include "swift/IDE/SourceEntityWalker.h" // for SourceEntityWalker | |
#include "swift/Index/IndexDataConsumer.h" // for IndexDataConsumer, IndexD... | |
#include "swift/Index/IndexSymbol.h" // for IndexSymbol, getSymbolInf... | |
#include "swift/Markup/Markup.h" // for MarkupContext | |
#include "swift/Sema/IDETypeChecking.h" // for collectAllOverriddenDecls | |
#include "type_traits" // for move, conditional<>::type | |
#include "utility" // for __unwrap_reference<>::type | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/Index/IndexRecord.h should add these lines: | |
#include "iosfwd" // for string | |
/Users/varun/foss-swift/swift/include/swift/Index/IndexRecord.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/Index/IndexRecord.h: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
namespace swift { class DependencyTracker; } // lines 21-21 | |
namespace swift { class ModuleDecl; } // lines 22-22 | |
namespace swift { class SourceFile; } // lines 23-23 | |
--- | |
/Users/varun/foss-swift/swift/lib/Index/IndexRecord.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "algorithm" // for stable_sort | |
#include "clang/Basic/Module.h" // for Module | |
#include "clang/Index/IndexSymbol.h" // for SymbolInfo, SymbolRoleSet | |
#include "clang/Lex/HeaderSearchOptions.h" // for HeaderSearchOptions | |
#include "cstddef" // for size_t | |
#include "functional" // for function, __base | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVecto... | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "memory" // for unique_ptr, make_unique | |
#include "string" // for basic_string | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_create_index_dir | |
#include "swift/AST/FileUnit.h" // for LoadedFile, FileUnit | |
#include "swift/Basic/LLVM.h" // for cast, isa, dyn_cast, swift | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Index/IndexDataConsumer.h" // for IndexDataConsumer::Action | |
#include "swift/Index/IndexSymbol.h" // for IndexSymbol, IndexRelation | |
#include "type_traits" // for move, remove_reference<... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/Index/IndexRecord.cpp should remove these lines: | |
- #include "clang/Lex/Preprocessor.h" // lines 32-32 | |
- #include "llvm/Support/Path.h" // lines 33-33 | |
- #include "swift/AST/DiagnosticsFrontend.h" // lines 16-16 | |
- #include "swift/AST/Expr.h" // lines 17-17 | |
- #include "swift/AST/ModuleLoader.h" // lines 19-19 | |
- #include "swift/AST/ParameterList.h" // lines 20-20 | |
- #include "swift/AST/Pattern.h" // lines 21-21 | |
- #include "swift/AST/Stmt.h" // lines 23-23 | |
- #include "swift/AST/Types.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/Index/IndexRecord.cpp: | |
#include "swift/Index/IndexRecord.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "algorithm" // for stable_sort | |
#include "clang/Basic/FileManager.h" // for FileManager, FileEntry ... | |
#include "clang/Basic/Module.h" // for Module | |
#include "clang/Frontend/CompilerInstance.h" // for CompilerInstance | |
#include "clang/Index/IndexRecordWriter.h" // for IndexRecordWriter, Symbol | |
#include "clang/Index/IndexSymbol.h" // for SymbolInfo, SymbolRoleSet | |
#include "clang/Index/IndexUnitWriter.h" // for IndexUnitWriter, Module... | |
#include "clang/Index/IndexingAction.h" // for emitIndexDataForModuleFile | |
#include "clang/Lex/HeaderSearchOptions.h" // for HeaderSearchOptions | |
#include "cstddef" // for size_t | |
#include "functional" // for function, __base | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/Hashing.h" // for hash_combine, hash_code | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVecto... | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMapEntry | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "memory" // for unique_ptr, make_unique | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/Decl.h" // for Decl, TopLevelCodeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsFrontend.def" // for error_create_index_dir | |
#include "swift/AST/FileUnit.h" // for LoadedFile, FileUnit | |
#include "swift/AST/Module.h" // for ModuleDecl, FileUnitKind | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/Basic/LLVM.h" // for cast, isa, dyn_cast, swift | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/ClangImporter/ClangModule.h" // for ClangModuleUnit | |
#include "swift/Index/Index.h" // for indexModule, indexSourc... | |
#include "swift/Index/IndexDataConsumer.h" // for IndexDataConsumer::Action | |
#include "swift/Index/IndexSymbol.h" // for IndexSymbol, IndexRelation | |
#include "type_traits" // for move, remove_reference<... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/ExprContextAnalysis.h should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
namespace swift { class ModuleDecl; } | |
/Users/varun/foss-swift/swift/lib/IDE/ExprContextAnalysis.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/ExprContextAnalysis.h: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/Types.h" // for AnyFunctionType | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc (ptr only), SourceRange | |
namespace swift { class DeclContext; } // lines 22-22 | |
namespace swift { class Expr; } // lines 23-23 | |
namespace swift { class ModuleDecl; } | |
namespace swift { class ValueDecl; } // lines 24-24 | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/ExprContextAnalysis.cpp should add these lines: | |
#include "__functional_base" // for less | |
#include "functional" // for function, __base | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/Identifier.h" // for Identifier, DeclNameRef, ope... | |
#include "swift/AST/LookupKinds.h" // for operator|, NL_ProtocolMembers | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, swift | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
namespace swift { class TypeRepr; } | |
/Users/varun/foss-swift/swift/lib/IDE/ExprContextAnalysis.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 33-33 | |
- #include "clang/AST/Decl.h" // lines 34-34 | |
- #include "swift/AST/GenericSignature.h" // lines 19-19 | |
- #include "swift/AST/LazyResolver.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/ExprContextAnalysis.cpp: | |
#include "ExprContextAnalysis.h" | |
#include "__functional_base" // for less | |
#include "functional" // for function, __base | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ASTWalker::ParentTy, ASTWalker | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/Decl.h" // for ValueDecl, AbstractFunctionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclContextKind | |
#include "swift/AST/Expr.h" // for Expr, ExprKind, SubscriptExpr | |
#include "swift/AST/Identifier.h" // for Identifier, DeclNameRef, ope... | |
#include "swift/AST/Initializer.h" // for PatternBindingInitializer | |
#include "swift/AST/LookupKinds.h" // for operator|, NL_ProtocolMembers | |
#include "swift/AST/Module.h" // for DeclContext::isModuleScopeCo... | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern, ExprPattern, Patter... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for StmtKind, RepeatWhileStmt | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Types.h" // for TypeBase, AnyFunctionType | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, swift | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/IDE/CodeCompletion.h" // for SemanticContextKind, Semanti... | |
#include "swift/Sema/IDETypeChecking.h" // for getTypeOfCompletionContextExpr | |
#include "swift/Subsystems.h" // for performTypeLocChecking | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
namespace swift { class TypeRepr; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/IDE/Refactoring.h should add these lines: | |
#include <sys/types.h> // for int8_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "string" // for basic_string | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
namespace swift { class DiagnosticConsumer; } | |
namespace swift { class SourceFile; } | |
namespace swift { class ValueDecl; } | |
/Users/varun/foss-swift/swift/include/swift/IDE/Refactoring.h should remove these lines: | |
- #include "swift/AST/DiagnosticConsumer.h" // lines 18-18 | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
- namespace swift { class SourceLoc; } // lines 23-23 | |
- namespace swift { namespace ide { struct ResolvedCursorInfo; } } // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/IDE/Refactoring.h: | |
#include <sys/types.h> // for int8_t | |
#include "RefactoringKinds.def" // lines 32-32 | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "string" // for basic_string | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "swift/IDE/Utils.h" // for RegionType, SourceEditConsumer (p... | |
#include "vector" // for vector | |
namespace llvm { class raw_ostream; } | |
namespace swift { class DiagnosticConsumer; } | |
namespace swift { class ModuleDecl; } // lines 22-22 | |
namespace swift { class SourceFile; } | |
namespace swift { class SourceManager; } // lines 24-24 | |
namespace swift { class ValueDecl; } | |
namespace swift { namespace ide { struct FindRenameRangesAnnotatingConsumer::Implementation; } } // lines 101-101 | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/Refactoring.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <stdlib.h> // for size_t, getenv | |
#include "algorithm" // for for_each, find_if | |
#include "clang/Index/IndexSymbol.h" // for SymbolKind, Sym... | |
#include "functional" // for __base, function | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade... | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for unique_ptr, mak... | |
#include "new" // for operator new | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ASTWalker, ASTW... | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsRefactoring.def" // for invalid_name | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault | |
#include "swift/AST/Identifier.h" // for operator<<, Ide... | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/RawComment.h" // for RawComment, Sin... | |
#include "swift/AST/SimpleRequest.h" // for operator==, sim... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Type.h" // for Type, operator<< | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa | |
#include "swift/Basic/Range.h" // for IntRange, indices | |
#include "swift/Basic/STLExtras.h" // for operator!=, Opt... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/IDE/SourceEntityWalker.h" // for SourceEntityWalker | |
#include "swift/Index/IndexDataConsumer.h" // for IndexDataConsumer | |
#include "swift/Index/IndexSymbol.h" // for IndexSymbol | |
#include "swift/Parse/Token.h" // for Token | |
#include "swift/Syntax/RawSyntax.h" // for cast | |
#include "swift/Syntax/TokenKinds.h" // for tok, getTokenText | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_re... | |
#include "utility" // for pair, make_pair | |
namespace swift { class DiagnosticConsumer; } | |
/Users/varun/foss-swift/swift/lib/IDE/Refactoring.cpp should remove these lines: | |
- #include "clang/Rewrite/Core/RewriteBuffer.h" // lines 33-33 | |
- #include "swift/AST/DiagnosticsRefactoring.h" // lines 18-18 | |
- #include "swift/Basic/Edit.h" // lines 26-26 | |
- #include "swift/Subsystems.h" // lines 32-32 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/Refactoring.cpp: | |
#include "swift/IDE/Refactoring.h" | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include <stdlib.h> // for size_t, getenv | |
#include "algorithm" // for for_each, find_if | |
#include "clang/Index/IndexSymbol.h" // for SymbolKind, Sym... | |
#include "functional" // for __base, function | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade... | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for unique_ptr, mak... | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTPrinter.h" // for operator<<, AST... | |
#include "swift/AST/ASTWalker.h" // for ASTWalker, ASTW... | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/Decl.h" // for ValueDecl, Nomi... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsRefactoring.def" // for invalid_name | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault | |
#include "swift/AST/Expr.h" // for Expr, DeclRefExpr | |
#include "swift/AST/Identifier.h" // for operator<<, Ide... | |
#include "swift/AST/KnownProtocols.h" // for KnownProtocolKind | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/NameLookup.h" // for lookupVisibleDecls | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern, TypedP... | |
#include "swift/AST/PrintOptions.h" // for PrintOptions | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConform... | |
#include "swift/AST/RawComment.h" // for RawComment, Sin... | |
#include "swift/AST/SimpleRequest.h" // for operator==, sim... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for IfStmt, BraceStmt | |
#include "swift/AST/Type.h" // for Type, operator<< | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeRepr | |
#include "swift/AST/Types.h" // for TypeBase, InOut... | |
#include "swift/AST/USRGeneration.h" // for printValueDeclUSR | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa | |
#include "swift/Basic/Range.h" // for IntRange, indices | |
#include "swift/Basic/STLExtras.h" // for operator!=, Opt... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/StringExtras.h" // for StringScratchSpace | |
#include "swift/Frontend/Frontend.h" // for CompilerInstance | |
#include "swift/Frontend/FrontendInputsAndOutputs.h" // for FrontendInputsA... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Frontend/InputFile.h" // for InputFile | |
#include "swift/IDE/IDERequests.h" // for CursorInfoRequest | |
#include "swift/IDE/RefactoringKinds.def" // for RefactoringActi... | |
#include "swift/IDE/RefactoringKinds.def" // for RefactoringActi... | |
#include "swift/IDE/RefactoringKinds.def" // for RefactoringActi... | |
#include "swift/IDE/RefactoringKinds.def" // for RefactoringActi... | |
#include "swift/IDE/RefactoringKinds.def" // for RefactoringActi... | |
#include "swift/IDE/RefactoringKinds.def" // for RefactoringActi... | |
#include "swift/IDE/SourceEntityWalker.h" // for SourceEntityWalker | |
#include "swift/Index/Index.h" // for indexDeclContext | |
#include "swift/Index/IndexDataConsumer.h" // for IndexDataConsumer | |
#include "swift/Index/IndexSymbol.h" // for IndexSymbol | |
#include "swift/Parse/Lexer.h" // for Lexer, slice_to... | |
#include "swift/Parse/Token.h" // for Token | |
#include "swift/Sema/IDETypeChecking.h" // for OriginalArgumen... | |
#include "swift/Syntax/RawSyntax.h" // for cast | |
#include "swift/Syntax/TokenKinds.h" // for tok, getTokenText | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_re... | |
#include "utility" // for pair, make_pair | |
namespace swift { class DiagnosticConsumer; } | |
--- | |
/Users/varun/foss-swift/swift/include/swift/IDE/ModuleInterfacePrinting.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
/Users/varun/foss-swift/swift/include/swift/IDE/ModuleInterfacePrinting.h should remove these lines: | |
- #include <string> // lines 19-19 | |
- #include "swift/Basic/LLVM.h" // lines 16-16 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/IDE/ModuleInterfacePrinting.h: | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/Basic/OptionSet.h" // for OptionSet | |
namespace swift { class ASTContext; } // lines 23-23 | |
namespace swift { class ASTPrinter; } // lines 24-24 | |
namespace swift { class ModuleDecl; } // lines 25-25 | |
namespace swift { class SourceFile; } // lines 26-26 | |
namespace swift { class Type; } // lines 27-27 | |
namespace swift { struct PrintOptions; } // lines 28-28 | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/ModuleInterfacePrinting.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/RawCommentList.h" // for RawComment | |
#include "clang/Basic/SourceLocation.h" // for FileID, SourceLocation | |
#include "clang/Basic/SourceManager.h" // for SourceManager | |
#include "clang/Basic/TokenKinds.h" // for comment, eof | |
#include "clang/Lex/Token.h" // for Token | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapPair | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtr... | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry, Strin... | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream | |
#include "new" // for operator new | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLe... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/RawComment.h" // for RawComment, SingleRaw... | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeOrExtensionDecl.h" // for TypeOrExtensionDecl | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSource... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for move, remove_referenc... | |
/Users/varun/foss-swift/swift/lib/IDE/ModuleInterfacePrinting.cpp should remove these lines: | |
- #include "clang/AST/Decl.h" // lines 31-31 | |
- #include "clang/AST/DeclObjC.h" // lines 32-32 | |
- #include "clang/Lex/MacroInfo.h" // lines 35-35 | |
- #include "clang/Lex/Preprocessor.h" // lines 36-36 | |
- #include "swift/AST/NameLookup.h" // lines 21-21 | |
- #include "swift/ClangImporter/ClangModule.h" // lines 26-26 | |
- #include "swift/Parse/Token.h" // lines 27-27 | |
- #include "swift/Serialization/SerializedModuleLoader.h" // lines 29-29 | |
- #include "swift/Subsystems.h" // lines 28-28 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/ModuleInterfacePrinting.cpp: | |
#include "swift/IDE/ModuleInterfacePrinting.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <algorithm> // for sort, partition, stab... | |
#include <memory> // for unique_ptr | |
#include <queue> // for queue | |
#include <string> // for basic_string, operator+ | |
#include <utility> // for pair | |
#include <vector> // for vector | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/DeclBase.h" // for Decl | |
#include "clang/AST/RawCommentList.h" // for RawComment | |
#include "clang/Basic/Module.h" // for Module | |
#include "clang/Basic/SourceLocation.h" // for FileID, SourceLocation | |
#include "clang/Basic/SourceManager.h" // for SourceManager | |
#include "clang/Basic/TokenKinds.h" // for comment, eof | |
#include "clang/Lex/Lexer.h" // for Lexer | |
#include "clang/Lex/Token.h" // for Token | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapPair | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet, SmallPtr... | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringMap.h" // for StringMapEntry, Strin... | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTDemangler.h" // for getTypeForMangling | |
#include "swift/AST/ASTPrinter.h" // for ASTPrinter, PrintName... | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/AttrKind.h" // for AccessLevel, AccessLe... | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for ExtensionDecl, Import... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/FileUnit.h" // for FileUnit | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/Module.h" // for ModuleDecl, DeclConte... | |
#include "swift/AST/PrintOptions.h" // for PrintOptions, Bracket... | |
#include "swift/AST/RawComment.h" // for RawComment, SingleRaw... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeOrExtensionDecl.h" // for TypeOrExtensionDecl | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/PrimitiveParsing.h" // for trimLeadingWhitespace... | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, CharSource... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter, create... | |
#include "swift/IDE/Utils.h" // for getEffectiveClangNode | |
#include "swift/Sema/IDETypeChecking.h" // for ExtensionInfo, Synthe... | |
#include "type_traits" // for move, remove_referenc... | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/SwiftSourceDocInfo.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <memory> // for allocator | |
#include "__functional_base" // for less | |
#include "__tree" // for __tree_const_iterator | |
#include "algorithm" // for transform, find_if, sort | |
#include "clang/Basic/FileManager.h" // for FileEntry | |
#include "clang/Basic/SourceLocation.h" // for FileID, CharSourceRange | |
#include "clang/Basic/SourceManager.h" // for SourceManager | |
#include "cstddef" // for size_t | |
#include "iterator" // for back_insert_iterator | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "set" // for set | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ASTWalker::ParentTy | |
#include "swift/AST/Attr.h" // for CustomAttr, DeclAttri... | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for Expr, TupleExpr, Expr... | |
#include "swift/AST/Identifier.h" // for operator<<, DeclBaseName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/RawComment.h" // for RawComment, SingleRaw... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for Stmt | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeRepr, ComponentId... | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, Sour... | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Parse/Token.h" // for Token, tok::comment | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "type_traits" // for move, remove_referenc... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector, vector<>::ite... | |
/Users/varun/foss-swift/swift/lib/IDE/SwiftSourceDocInfo.cpp should remove these lines: | |
- #include "clang/Basic/CharInfo.h" // lines 29-29 | |
- #include "clang/Basic/Module.h" // lines 26-26 | |
- #include "clang/Index/USRGeneration.h" // lines 27-27 | |
- #include "llvm/Support/MemoryBuffer.h" // lines 31-31 | |
- #include "swift/AST/NameLookup.h" // lines 15-15 | |
- #include "swift/Frontend/Frontend.h" // lines 17-17 | |
- #include "swift/Frontend/PrintingDiagnosticConsumer.h" // lines 18-18 | |
- #include "swift/Subsystems.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/SwiftSourceDocInfo.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <memory> // for allocator | |
#include <numeric> // for iota | |
#include "__functional_base" // for less | |
#include "__tree" // for __tree_const_iterator | |
#include "algorithm" // for transform, find_if, sort | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/DeclObjC.h" // for ObjCMethodDecl | |
#include "clang/Basic/FileManager.h" // for FileEntry | |
#include "clang/Basic/SourceLocation.h" // for FileID, CharSourceRange | |
#include "clang/Basic/SourceManager.h" // for SourceManager | |
#include "clang/Lex/Lexer.h" // for Lexer | |
#include "cstddef" // for size_t | |
#include "iterator" // for back_insert_iterator | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, errs | |
#include "set" // for set | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTPrinter.h" // for printContext | |
#include "swift/AST/ASTWalker.h" // for ASTWalker::ParentTy | |
#include "swift/AST/Attr.h" // for CustomAttr, DeclAttri... | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for ValueDecl, ParamDecl | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for Expr, TupleExpr, Expr... | |
#include "swift/AST/Identifier.h" // for operator<<, DeclBaseName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/RawComment.h" // for RawComment, SingleRaw... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for Stmt | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for TypeRepr, ComponentId... | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, Sour... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/IDE/CommentConversion.h" // for ide | |
#include "swift/IDE/Utils.h" // for NameMatcher, ResolvedLoc | |
#include "swift/Markup/XMLUtils.h" // for appendWithXMLEscaping | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Parse/Token.h" // for Token, tok::comment | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "type_traits" // for move, remove_referenc... | |
#include "utility" // for pair, make_pair | |
#include "vector" // for vector, vector<>::ite... | |
--- | |
/Users/varun/foss-swift/swift/include/swift/IDE/SyntaxModel.h should add these lines: | |
#include <stdint.h> // for uint8_t | |
/Users/varun/foss-swift/swift/include/swift/IDE/SyntaxModel.h should remove these lines: | |
- #include "swift/Config.h" // lines 18-18 | |
- namespace swift { class ModuleDecl; } // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/IDE/SyntaxModel.h: | |
#include <stdint.h> // for uint8_t | |
#include <vector> // for vector | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange | |
namespace swift { class Decl; } // lines 23-23 | |
namespace swift { class SourceFile; } // lines 25-25 | |
namespace swift { namespace ide { struct SyntaxModelContext::Implementation; } } // lines 193-193 | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/SyntaxModel.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "algorithm" // for find, find_if, sort, unique | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!=, oper... | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "new" // for operator delete, operator new | |
#include "string" // for basic_string, operator== | |
#include "swift/AST/ASTNode.h" // for ASTNode, DenseMapInfo | |
#include "swift/AST/AttrKind.h" // for DAK_Count, TAK_Count | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "type_traits" // for move, remove_reference<>::type | |
#include "utility" // for pair, make_pair | |
/Users/varun/foss-swift/swift/lib/IDE/SyntaxModel.cpp should remove these lines: | |
- #include "llvm/Support/MemoryBuffer.h" // lines 32-32 | |
- #include "swift/AST/Module.h" // lines 21-21 | |
- #include "swift/AST/NameLookup.h" // lines 18-18 | |
- #include "swift/Config.h" // lines 28-28 | |
- #include "swift/Subsystems.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/SyntaxModel.cpp: | |
#include "swift/IDE/SyntaxModel.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <regex> // for regex, operator|, sub_match | |
#include <vector> // for vector | |
#include "algorithm" // for find, find_if, sort, unique | |
#include "clang/Basic/CharInfo.h" // for isIdentifierBody | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, MutableArrayRef | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!=, oper... | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "new" // for operator delete, operator new | |
#include "string" // for basic_string, operator== | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode, DenseMapInfo | |
#include "swift/AST/ASTWalker.h" // for ASTWalker::ParentTy, ASTWalker | |
#include "swift/AST/AttrKind.h" // for DAK_Count, TAK_Count | |
#include "swift/AST/Decl.h" // for VarDecl, EnumElementDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for CallExpr, TupleExpr, Expr | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for Pattern | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for SwitchStmt, BraceStmt, Stmt | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for ComponentIdentTypeRepr, Att... | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Markup/SimpleFields.def" // lines 1657-1657 | |
#include "swift/Parse/Lexer.h" // for slice_token_array, Lexer | |
#include "swift/Parse/Token.h" // for Token, tok::floating_literal | |
#include "swift/Syntax/TokenKinds.def" // lines 155-155 | |
#include "swift/Syntax/TokenKinds.def" // lines 192-192 | |
#include "swift/Syntax/TokenKinds.def" // lines 198-198 | |
#include "swift/Syntax/TokenKinds.def" // lines 205-205 | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "type_traits" // for move, remove_reference<>::type | |
#include "utility" // for pair, make_pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/IDE/Utils.h should add these lines: | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for int8_t, uint64_t, uint32_t | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, raw_ostream | |
#include "swift/AST/ASTWalker.h" // for ASTWalker, ASTWalker::ParentTy | |
#include "swift/AST/Decl.h" // for Decl (ptr only), ExtensionDec... | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "utility" // for pair | |
namespace swift { class ConcreteDeclRef; } | |
namespace swift { class DeclNameLoc; } | |
namespace swift { class Expr; } | |
namespace swift { class Pattern; } | |
namespace swift { class Stmt; } | |
namespace swift { class TypeBase; } | |
namespace swift { class TypeLoc; } | |
namespace swift { class TypeRepr; } | |
namespace swift { struct ASTNode; } | |
/Users/varun/foss-swift/swift/include/swift/IDE/Utils.h should remove these lines: | |
- #include <functional> // lines 27-27 | |
- #include "llvm/ADT/PointerIntPair.h" // lines 16-16 | |
- #include "swift/AST/ASTNode.h" // lines 18-18 | |
- #include "swift/AST/DeclNameLoc.h" // lines 19-19 | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
- #include "swift/IDE/SourceEntityWalker.h" // lines 22-22 | |
- namespace clang { class Module; } // lines 36-36 | |
- namespace swift { class Decl; } // lines 49-49 | |
- namespace swift { class ModuleDecl; } // lines 41-41 | |
- namespace swift { class SourceLoc; } // lines 47-47 | |
- namespace swift { class Token; } // lines 54-54 | |
- namespace swift { class Type; } // lines 48-48 | |
- namespace swift { class TypeDecl; } // lines 46-46 | |
- namespace swift { class ValueDecl; } // lines 42-42 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/IDE/Utils.h: | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for int8_t, uint64_t, uint32_t | |
#include <memory> // for unique_ptr | |
#include <string> // for basic_string | |
#include <vector> // for vector | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorImpl | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, raw_ostream | |
#include "swift/AST/ASTPrinter.h" // for StreamPrinter | |
#include "swift/AST/ASTWalker.h" // for ASTWalker, ASTWalker::ParentTy | |
#include "swift/AST/Decl.h" // for Decl (ptr only), ExtensionDec... | |
#include "swift/AST/Module.h" // for ModuleEntity, SourceFileKind | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Token.h" // for Token | |
#include "utility" // for pair | |
namespace clang { class NamedDecl; } // lines 37-37 | |
namespace llvm { class MemoryBuffer; } // lines 32-32 | |
namespace llvm { template <typename Fn> class function_ref; } // lines 31-31 | |
namespace swift { class ASTContext; } // lines 43-43 | |
namespace swift { class CallExpr; } // lines 51-51 | |
namespace swift { class ClangImporter; } // lines 53-53 | |
namespace swift { class ClangNode; } // lines 52-52 | |
namespace swift { class CompilerInvocation; } // lines 44-44 | |
namespace swift { class ConcreteDeclRef; } | |
namespace swift { class DeclContext; } // lines 50-50 | |
namespace swift { class DeclNameLoc; } | |
namespace swift { class Expr; } | |
namespace swift { class Pattern; } | |
namespace swift { class SourceFile; } // lines 45-45 | |
namespace swift { class Stmt; } | |
namespace swift { class TypeBase; } | |
namespace swift { class TypeLoc; } | |
namespace swift { class TypeRepr; } | |
namespace swift { namespace ide { struct SourceEditJsonConsumer::Implementation; } } // lines 551-551 | |
namespace swift { namespace ide { struct SourceEditOutputConsumer::Implementation; } } // lines 560-560 | |
namespace swift { struct ASTNode; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/Utils.cpp should add these lines: | |
#include <_ctype.h> // for isspace | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen, size_t | |
#include "algorithm" // for copy, min | |
#include "clang/AST/Decl.h" // for NamedDecl | |
#include "clang/Basic/Diagnostic.h" // for DiagnosticsE... | |
#include "clang/Basic/DiagnosticOptions.h" // for DiagnosticOp... | |
#include "clang/Basic/FileManager.h" // for FileManager | |
#include "clang/Basic/FileSystemOptions.h" // for FileSystemOp... | |
#include "clang/Basic/LangOptions.h" // for LangOptions | |
#include "clang/Basic/TargetOptions.h" // for TargetOptions | |
#include "clang/Frontend/CompilerInvocation.h" // for CompilerInvo... | |
#include "clang/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "clang/Frontend/Utils.h" // for createInvoca... | |
#include "clang/Lex/HeaderSearchOptions.h" // for HeaderSearch... | |
#include "clang/Serialization/PCHContainerOperations.h" // for PCHContainer... | |
#include "llvm/ADT/CachedHashString.h" // for CachedHashSt... | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRef... | |
#include "llvm/ADT/SetVector.h" // for SmallSetVector | |
#include "llvm/ADT/Triple.h" // for Triple, Trip... | |
#include "llvm/ADT/Twine.h" // for Twine, opera... | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/DeclContext.h" // for DeclRange | |
#include "swift/AST/Expr.h" // for SelfApplyExpr | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImporte... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "system_error" // for error_code | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove... | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/IDE/Utils.cpp should remove these lines: | |
- #include "clang/AST/DeclObjC.h" // lines 21-21 | |
- #include "clang/Basic/TargetInfo.h" // lines 22-22 | |
- #include "clang/CodeGen/ObjectFilePCHContainerOperations.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/Utils.cpp: | |
#include "swift/IDE/Utils.h" | |
#include <_ctype.h> // for isspace | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen, size_t | |
#include "algorithm" // for copy, min | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/Decl.h" // for NamedDecl | |
#include "clang/Basic/Diagnostic.h" // for DiagnosticsE... | |
#include "clang/Basic/DiagnosticOptions.h" // for DiagnosticOp... | |
#include "clang/Basic/FileManager.h" // for FileManager | |
#include "clang/Basic/FileSystemOptions.h" // for FileSystemOp... | |
#include "clang/Basic/LangOptions.h" // for LangOptions | |
#include "clang/Basic/TargetOptions.h" // for TargetOptions | |
#include "clang/Frontend/CompilerInstance.h" // for CompilerInst... | |
#include "clang/Frontend/CompilerInvocation.h" // for CompilerInvo... | |
#include "clang/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "clang/Frontend/TextDiagnosticBuffer.h" // for TextDiagnost... | |
#include "clang/Frontend/Utils.h" // for createInvoca... | |
#include "clang/Lex/HeaderSearchOptions.h" // for HeaderSearch... | |
#include "clang/Lex/PreprocessorOptions.h" // for Preprocessor... | |
#include "clang/Rewrite/Core/RewriteBuffer.h" // for RewriteBuffer | |
#include "clang/Serialization/ASTReader.h" // for ASTReader | |
#include "clang/Serialization/PCHContainerOperations.h" // for PCHContainer... | |
#include "llvm/ADT/CachedHashString.h" // for CachedHashSt... | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" // for IntrusiveRef... | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SmallSetVector | |
#include "llvm/ADT/Triple.h" // for Triple, Trip... | |
#include "llvm/ADT/Twine.h" // for Twine, opera... | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHR... | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/Path.h" // for filename | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/DeclContext.h" // for DeclRange | |
#include "swift/AST/Expr.h" // for SelfApplyExpr | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/Edit.h" // for SingleEdit | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/ClangImporter/ClangImporterOptions.h" // for ClangImporte... | |
#include "swift/ClangImporter/ClangModule.h" // for ClangModuleUnit | |
#include "swift/Frontend/Frontend.h" // for CompilerInvo... | |
#include "swift/Frontend/FrontendOptions.h" // for FrontendOptions | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Parse/Parser.h" // for Parser | |
#include "swift/Subsystems.h" // for ParserUnit | |
#include "system_error" // for error_code | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove... | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/IDETypeChecking.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t, uint32_t | |
#include <memory> // for allocator | |
#include "__functional_base" // for less | |
#include "algorithm" // for sort, find_if, remov... | |
#include "cstdint" // for uint32_t | |
#include "functional" // for __base, function | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, operator== | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, SmallDenseMap | |
#include "llvm/ADT/DenseSet.h" // for DenseSet, DenseSetIm... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMap... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_c... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_sve... | |
#include "memory" // for unique_ptr, shared_ptr | |
#include "new" // for operator new, operat... | |
#include "set" // for set, operator== | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault | |
#include "swift/AST/PrintOptions.h" // for PrintOptions, AnyAtt... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/Requirement.h" // for RequirementKind, Req... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_d... | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_c... | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, Sou... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/IDE/IDETypeChecking.cpp should remove these lines: | |
- #include "swift/AST/ASTDemangler.h" // lines 13-13 | |
- #include "swift/AST/GenericEnvironment.h" // lines 19-19 | |
- #include "swift/AST/NameLookup.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/IDETypeChecking.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t, uint32_t | |
#include <memory> // for allocator | |
#include "__functional_base" // for less | |
#include "algorithm" // for sort, find_if, remov... | |
#include "cstdint" // for uint32_t | |
#include "functional" // for __base, function | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, operator== | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, SmallDenseMap | |
#include "llvm/ADT/DenseSet.h" // for DenseSet, DenseSetIm... | |
#include "llvm/ADT/MapVector.h" // for MapVector | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap, StringMap... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_c... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_sve... | |
#include "memory" // for unique_ptr, shared_ptr | |
#include "new" // for operator new, operat... | |
#include "set" // for set, operator== | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTPrinter.h" // for getInheritedForPrinting | |
#include "swift/AST/Attr.h" // for AvailableAttr, DeclA... | |
#include "swift/AST/Decl.h" // for ExtensionDecl, Value... | |
#include "swift/AST/DeclContext.h" // for DeclContext, DeclRange | |
#include "swift/AST/Evaluator.h" // for evaluateOrDefault | |
#include "swift/AST/Expr.h" // for Expr | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/Identifier.h" // for DeclBaseName | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/PrintOptions.h" // for PrintOptions, AnyAtt... | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolConfor... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/RawComment.h" // for RawComment | |
#include "swift/AST/Requirement.h" // for RequirementKind, Req... | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_d... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, CanType | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/Types.h" // for TypeBase, ProtocolType | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_c... | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, Sou... | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/IDE/IDERequests.h" // for CollectOverriddenDec... | |
#include "swift/IDE/SourceEntityWalker.h" // for SourceEntityWalker | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "swift/Sema/IDETypeChecking.h" // for ExtensionInfo, Expre... | |
#include "swift/Sema/IDETypeCheckingRequests.h" // for RootAndResultTypeOfK... | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/APIDigesterData.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include "algorithm" // for find_if, transform | |
#include "iosfwd" // for string | |
#include "iterator" // for back_insert_iterator, bac... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!= | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, outs | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new, operator de... | |
#include "string" // for stoi, to_string, basic_st... | |
#include "swift/AST/Decl.h" // for DeclKind, DeclKind::Accessor | |
#include "swift/AST/DiagnosticsDriver.def" // for cannot_find_migration_script | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/IDE/Utils.h" // for DeclNameViewer, ide | |
#include "type_traits" // for move, remove_reference<>:... | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/IDE/APIDigesterData.cpp should remove these lines: | |
- #include "llvm/Support/YAMLTraits.h" // lines 15-15 | |
- #include "swift/AST/DiagnosticsDriver.h" // lines 20-20 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/APIDigesterData.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include "algorithm" // for find_if, transform | |
#include "iosfwd" // for string | |
#include "iterator" // for back_insert_iterator, bac... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator!= | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/Support/Allocator.h" // for BumpPtrAllocator | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/ErrorOr.h" // for ErrorOr | |
#include "llvm/Support/MemoryBuffer.h" // for MemoryBuffer | |
#include "llvm/Support/SourceMgr.h" // for SourceMgr | |
#include "llvm/Support/YAMLParser.h" // for KeyValueNode, ScalarNode | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, outs | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new, operator de... | |
#include "string" // for stoi, to_string, basic_st... | |
#include "swift/AST/Decl.h" // for DeclKind, DeclKind::Accessor | |
#include "swift/AST/DeclNodes.def" // lines 45-45 | |
#include "swift/AST/DiagnosticEngine.h" // for DiagnosticEngine | |
#include "swift/AST/DiagnosticsDriver.def" // for cannot_find_migration_script | |
#include "swift/Basic/JSONSerialization.h" // for Output, operator<<, Array... | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/IDE/APIDigesterData.h" // for NodeAnnotation, CommonDif... | |
#include "swift/IDE/DigesterEnums.def" // lines 30-30 | |
#include "swift/IDE/DigesterEnums.def" // lines 38-38 | |
#include "swift/IDE/DigesterEnums.def" // lines 58-58 | |
#include "swift/IDE/DigesterEnums.def" // lines 66-66 | |
#include "swift/IDE/DigesterEnums.def" // lines 73-73 | |
#include "swift/IDE/DigesterEnums.def" // lines 260-260 | |
#include "swift/IDE/DigesterEnums.def" // lines 291-291 | |
#include "swift/IDE/DigesterEnums.def" // lines 297-297 | |
#include "swift/IDE/DigesterEnums.def" // lines 305-305 | |
#include "swift/IDE/DigesterEnums.def" // lines 312-312 | |
#include "swift/IDE/DigesterEnums.def" // lines 330-330 | |
#include "swift/IDE/DigesterEnums.def" // lines 339-339 | |
#include "swift/IDE/DigesterEnums.def" // lines 382-382 | |
#include "swift/IDE/DigesterEnums.def" // lines 390-390 | |
#include "swift/IDE/Utils.h" // for DeclNameViewer, ide | |
#include "type_traits" // for move, remove_reference<>:... | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/include/swift/IDE/SourceEntityWalker.h should add these lines: | |
namespace swift { struct ReferenceMetaData; } | |
/Users/varun/foss-swift/swift/include/swift/IDE/SourceEntityWalker.h should remove these lines: | |
- #include "llvm/ADT/PointerUnion.h" // lines 19-19 | |
- #include "swift/AST/ASTWalker.h" // lines 16-16 | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
- namespace clang { class Module; } // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/IDE/SourceEntityWalker.h: | |
#include "swift/Basic/SourceLoc.h" // for CharSourceRange, SourceLoc (ptr o... | |
namespace swift { class Decl; } // lines 31-31 | |
namespace swift { class DeclContext; } // lines 26-26 | |
namespace swift { class Expr; } // lines 36-36 | |
namespace swift { class ExtensionDecl; } // lines 34-34 | |
namespace swift { class Identifier; } // lines 27-27 | |
namespace swift { class ModuleDecl; } // lines 29-29 | |
namespace swift { class ModuleEntity; } // lines 30-30 | |
namespace swift { class SourceFile; } // lines 28-28 | |
namespace swift { class Stmt; } // lines 35-35 | |
namespace swift { class Type; } // lines 37-37 | |
namespace swift { class TypeDecl; } // lines 33-33 | |
namespace swift { class ValueDecl; } // lines 32-32 | |
namespace swift { struct ASTNode; } // lines 38-38 | |
namespace swift { struct ReferenceMetaData; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/SourceEntityWalker.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap, DenseMapIter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/Attr.h" // for CustomAttr, DeclAttributes | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/StorageImpl.h" // for AccessKind, AccessKind::Rea... | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "type_traits" // for move, conditional<>::type | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/IDE/SourceEntityWalker.cpp should remove these lines: | |
- #include "swift/AST/Types.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/SourceEntityWalker.cpp: | |
#include "swift/IDE/SourceEntityWalker.h" | |
#include <assert.h> // for assert | |
#include "clang/Basic/Module.h" // for Module | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for SmallDenseMap, DenseMapIter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/SaveAndRestore.h" // for SaveAndRestore | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ReferenceMetaData, SemaRefe... | |
#include "swift/AST/Attr.h" // for CustomAttr, DeclAttributes | |
#include "swift/AST/ConcreteDeclRef.h" // for ConcreteDeclRef | |
#include "swift/AST/Decl.h" // for ValueDecl, ExtensionDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Expr.h" // for DeclRefExpr, Expr, KeyPathExpr | |
#include "swift/AST/Identifier.h" // for Identifier, DeclBaseName | |
#include "swift/AST/IfConfigClause.h" // for IfConfigClause | |
#include "swift/AST/Module.h" // for ModuleDecl, ModuleEntity | |
#include "swift/AST/ParameterList.h" // for ParameterList | |
#include "swift/AST/Pattern.h" // for EnumElementPattern, TypedPa... | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for DeferStmt, BraceStmt, Stmt | |
#include "swift/AST/StorageImpl.h" // for AccessKind, AccessKind::Rea... | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/TypeLoc.h" // for TypeLoc | |
#include "swift/AST/TypeRepr.h" // for ComponentIdentTypeRepr, Typ... | |
#include "swift/Basic/Defer.h" // for SWIFT_DEFER | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_cast_or_... | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Lexer.h" // for Lexer | |
#include "type_traits" // for move, conditional<>::type | |
#include "utility" // for pair | |
--- | |
/Users/varun/foss-swift/swift/include/swift/IDE/TypeContextInfo.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
namespace llvm { class raw_ostream; } | |
namespace swift { class ValueDecl; } | |
/Users/varun/foss-swift/swift/include/swift/IDE/TypeContextInfo.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 17-17 | |
The full include-list for /Users/varun/foss-swift/swift/include/swift/IDE/TypeContextInfo.h: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "swift/AST/Type.h" // for Type | |
namespace llvm { class raw_ostream; } | |
namespace swift { class CodeCompletionCallbacksFactory; } // lines 20-20 | |
namespace swift { class ValueDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/TypeContextInfo.cpp should add these lines: | |
#include "__functional_base" // for less | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for isa | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ValueDecl, EnumElem... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Expr.h" // for CodeCompletionExpr | |
#include "swift/AST/Identifier.h" // for DeclName | |
#include "swift/AST/Types.h" // for TypeBase, MetatypeType | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/Parser.h" // for Parser | |
#include "utility" // for pair | |
namespace swift { class ModuleDecl; } | |
/Users/varun/foss-swift/swift/lib/IDE/TypeContextInfo.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 20-20 | |
- #include "clang/AST/Decl.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/TypeContextInfo.cpp: | |
#include "swift/IDE/TypeContextInfo.h" | |
#include "ExprContextAnalysis.h" // for typeCheckContextUntil | |
#include "__functional_base" // for less | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/Casting.h" // for isa | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ValueDecl, EnumElem... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Expr.h" // for CodeCompletionExpr | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/Identifier.h" // for DeclName | |
#include "swift/AST/NameLookup.h" // for lookupVisibleMember... | |
#include "swift/AST/Types.h" // for TypeBase, MetatypeType | |
#include "swift/AST/USRGeneration.h" // for printTypeUSR | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Parse/CodeCompletionCallbacks.h" // for CodeCompletionCallb... | |
#include "swift/Parse/Parser.h" // for Parser | |
#include "swift/Sema/IDETypeChecking.h" // for isConvertibleTo | |
#include "utility" // for pair | |
namespace swift { class ModuleDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IDE/IDERequests.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t, int8_t | |
#include "__tuple" // for tuple_element<>::type | |
#include "algorithm" // for find, find_if, none_of | |
#include "llvm/ADT/ArrayRef.h" // for makeArrayRef, ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for any_of, find_if | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_cast_or... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ReferenceMetaData, SemaRef... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for AbstractRequestFunction | |
#include "swift/AST/Expr.h" // for MemberRefExpr, SelfApplyExpr | |
#include "swift/AST/Identifier.h" // for DeclName, Identifier | |
#include "swift/AST/Module.h" // for ModuleEntity, ModuleDecl | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for LabeledStmt, CaseStmt, Bra... | |
#include "swift/AST/StorageImpl.h" // for AccessKind, AccessKind::Read | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_cast_or... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/TypeID.h" // for Zone, Zone::IDE | |
#include "swift/IDE/SourceEntityWalker.h" // for SourceEntityWalker | |
#include "swift/Parse/Lexer.h" // for token_lower_bound, Lexer | |
#include "swift/Parse/Token.h" // for Token, tok::comment | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "tuple" // for get | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/IDE/IDERequests.cpp should remove these lines: | |
- #include "swift/AST/ASTPrinter.h" // lines 13-13 | |
- #include "swift/AST/NameLookup.h" // lines 15-15 | |
- #include "swift/Frontend/Frontend.h" // lines 18-18 | |
- #include "swift/Frontend/PrintingDiagnosticConsumer.h" // lines 19-19 | |
- #include "swift/Markup/XMLUtils.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IDE/IDERequests.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t, int8_t | |
#include "__tuple" // for tuple_element<>::type | |
#include "algorithm" // for find, find_if, none_of | |
#include "llvm/ADT/ArrayRef.h" // for makeArrayRef, ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for any_of, find_if | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, dyn_cast_or... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTDemangler.h" // for getTypeDeclForMangling | |
#include "swift/AST/ASTNode.h" // for ASTNode | |
#include "swift/AST/ASTWalker.h" // for ReferenceMetaData, SemaRef... | |
#include "swift/AST/Decl.h" // for ValueDecl, ProtocolDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/DeclNameLoc.h" // for DeclNameLoc | |
#include "swift/AST/Evaluator.h" // for AbstractRequestFunction | |
#include "swift/AST/Expr.h" // for MemberRefExpr, SelfApplyExpr | |
#include "swift/AST/Identifier.h" // for DeclName, Identifier | |
#include "swift/AST/Module.h" // for ModuleEntity, ModuleDecl | |
#include "swift/AST/SimpleRequest.h" // for operator==, simple_display | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/Stmt.h" // for LabeledStmt, CaseStmt, Bra... | |
#include "swift/AST/StorageImpl.h" // for AccessKind, AccessKind::Read | |
#include "swift/AST/Type.h" // for Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/ImplementTypeIDZone.h" // lines 34-34 | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, dyn_cast_or... | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc, SourceRange | |
#include "swift/Basic/SourceManager.h" // for SourceManager | |
#include "swift/Basic/TypeID.h" // for Zone, Zone::IDE | |
#include "swift/IDE/CommentConversion.h" // for ide | |
#include "swift/IDE/IDERequestIDZone.def" // lines 43-43 | |
#include "swift/IDE/IDERequests.h" // for ProvideDefaultImplForRequest | |
#include "swift/IDE/SourceEntityWalker.h" // for SourceEntityWalker | |
#include "swift/IDE/Utils.h" // for ResolvedRangeInfo, Declare... | |
#include "swift/Parse/Lexer.h" // for token_lower_bound, Lexer | |
#include "swift/Parse/Token.h" // for Token, tok::comment | |
#include "swift/Sema/IDETypeChecking.h" // for resolveValueMember, Resolv... | |
#include "swift/Subsystems.h" // for registerIDETypeCheckReques... | |
#include "swift/Syntax/TokenKinds.h" // for tok | |
#include "tuple" // for get | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
#include "vector" // for vector | |
struct RangeResolver::Implementation; // lines 342-342 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/AllocStackHoisting.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "TypeInfo.h" // for TypeInfo | |
#include "functional" // for __base | |
#include "llvm/ADT/ArrayRef.h" // for MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringLiteral | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBU... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/SIL/SILBasicBlock.h" // for SILBasicBlock | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILType.h" // for SILType, Den... | |
#include "swift/SIL/SILValue.h" // for Operand | |
#include "swift/SILOptimizer/PassManager/PassManager.h" // for SILPassManager | |
#include "type_traits" // for remove_refer... | |
/Users/varun/foss-swift/swift/lib/IRGen/AllocStackHoisting.cpp should remove these lines: | |
- #include "NonFixedTypeInfo.h" // lines 27-27 | |
- #include "swift/AST/Availability.h" // lines 16-16 | |
- #include "swift/SIL/DebugUtils.h" // lines 20-20 | |
- #include "swift/SIL/SILArgument.h" // lines 23-23 | |
- #include "swift/SILOptimizer/PassManager/Passes.h" // lines 18-18 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/AllocStackHoisting.cpp: | |
#include <assert.h> // for assert | |
#include "IRGenModule.h" // for IRGenModule | |
#include "TypeInfo.h" // for TypeInfo | |
#include "functional" // for __base | |
#include "llvm/ADT/ArrayRef.h" // for MutableArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringLiteral | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Support/CommandLine.h" // for opt, init, desc | |
#include "llvm/Support/Compiler.h" // for LLVM_ATTRIBU... | |
#include "llvm/Support/Debug.h" // for dbgs, LLVM_D... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "new" // for operator new | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/SemanticAttrs.h" // for AVAILABILITY... | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast | |
#include "swift/IRGen/IRGenSILPasses.h" // for createAllocS... | |
#include "swift/SIL/SILBasicBlock.h" // for SILBasicBlock | |
#include "swift/SIL/SILBuilder.h" // for SILBuilderWi... | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILInstruction.h" // for AllocStackInst | |
#include "swift/SIL/SILType.h" // for SILType, Den... | |
#include "swift/SIL/SILValue.h" // for Operand | |
#include "swift/SILOptimizer/Analysis/Analysis.h" // for SILAnalysis | |
#include "swift/SILOptimizer/PassManager/PassManager.h" // for SILPassManager | |
#include "swift/SILOptimizer/PassManager/Transforms.h" // for SILFunctionT... | |
#include "type_traits" // for remove_refer... | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/ClassLayout.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "algorithm" // for find | |
#include "swift/Basic/OptionSet.h" // for OptionSet | |
#include "utility" // for make_pair, pair | |
namespace llvm { class Type; } | |
namespace swift { class VarDecl; } | |
/Users/varun/foss-swift/swift/lib/IRGen/ClassLayout.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/ClassLayout.h: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint8_t | |
#include "IRGen.h" // for Size, Alignment, operator- | |
#include "StructLayout.h" // for ElementLayout, StructLayoutBuilder | |
#include "algorithm" // for find | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, ArrayRef<>::iterator | |
#include "swift/Basic/OptionSet.h" // for OptionSet | |
#include "utility" // for make_pair, pair | |
namespace llvm { class Type; } | |
namespace swift { class VarDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/ClassLayout.cpp should add these lines: | |
#include "swift/Basic/LLVM.h" // for swift | |
namespace llvm { class Type; } | |
namespace swift { class VarDecl; } | |
/Users/varun/foss-swift/swift/lib/IRGen/ClassLayout.cpp should remove these lines: | |
- #include "IRGenFunction.h" // lines 19-19 | |
- #include "IRGenModule.h" // lines 20-20 | |
- #include "TypeInfo.h" // lines 22-22 | |
- #include "swift/AST/ASTContext.h" // lines 17-17 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/ClassLayout.cpp: | |
#include "ClassLayout.h" | |
#include "swift/Basic/LLVM.h" // for swift | |
namespace llvm { class Type; } | |
namespace swift { class VarDecl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/DebugTypeInfo.h should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_DUMP_METHOD | |
#include "swift/AST/Type.h" // for Type, CanType (ptr only), DenseMa... | |
#include "swift/Basic/LLVM.h" // for isa | |
namespace swift { class ClassDecl; } | |
namespace swift { class TypeDecl; } | |
namespace swift { class VarDecl; } | |
/Users/varun/foss-swift/swift/lib/IRGen/DebugTypeInfo.h should remove these lines: | |
- #include "swift/AST/Decl.h" // lines 22-22 | |
- namespace swift { class SILDebugScope; } // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/DebugTypeInfo.h: | |
#include <assert.h> // for assert | |
#include "IRGen.h" // for Size, Alignment | |
#include "llvm/ADT/DenseMapInfo.h" // for DenseMapInfo | |
#include "llvm/Support/Casting.h" // for isa, dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_DUMP_METHOD | |
#include "swift/AST/Type.h" // for Type, CanType (ptr only), DenseMa... | |
#include "swift/AST/Types.h" // for ArchetypeType, OpaqueTypeArchetyp... | |
#include "swift/Basic/LLVM.h" // for isa | |
namespace llvm { class Type; } // lines 26-26 | |
namespace swift { class ClassDecl; } | |
namespace swift { class SILGlobalVariable; } // lines 31-31 | |
namespace swift { class TypeDecl; } | |
namespace swift { class VarDecl; } | |
namespace swift { namespace irgen { class TypeInfo; } } // lines 34-34 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/DebugTypeInfo.cpp should add these lines: | |
#include "TypeInfo.h" // for TypeInfo | |
#include "llvm/IR/Type.h" // for Type | |
#include "swift/AST/Attr.h" // for AlignmentAttr, DeclAttrib... | |
#include "swift/AST/Decl.h" // for NominalTypeDecl, VarDecl | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/SIL/SILType.h" // for SILType | |
/Users/varun/foss-swift/swift/lib/IRGen/DebugTypeInfo.cpp should remove these lines: | |
- #include "llvm/Support/Debug.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/DebugTypeInfo.cpp: | |
#include "DebugTypeInfo.h" | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/raw_ostream.h" // for errs, raw_ostream | |
#include "swift/AST/Attr.h" // for AlignmentAttr, DeclAttrib... | |
#include "swift/AST/Decl.h" // for NominalTypeDecl, VarDecl | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/SIL/SILGlobalVariable.h" // for SILGlobalVariable | |
#include "swift/SIL/SILType.h" // for SILType | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/ExtraInhabitants.h should add these lines: | |
/Users/varun/foss-swift/swift/lib/IRGen/ExtraInhabitants.h should remove these lines: | |
- namespace llvm { class ConstantInt; } // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/ExtraInhabitants.h: | |
namespace llvm { class APInt; } // lines 21-21 | |
namespace llvm { class Value; } // lines 23-23 | |
namespace swift { namespace irgen { class Address; } } // lines 29-29 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 30-30 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 31-31 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/ExtraInhabitants.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size | |
#include "algorithm" // for min | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType, PointerType | |
#include "llvm/IR/Instructions.h" // for PHINode, LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "swift/Basic/ClusteredBitVector.h" // for ClusteredBitVector, Clus... | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace llvm { class BasicBlock; } | |
/Users/varun/foss-swift/swift/lib/IRGen/ExtraInhabitants.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/ExtraInhabitants.cpp: | |
#include "ExtraInhabitants.h" | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address | |
#include "BitPatternBuilder.h" // for BitPatternBuilder, BitPa... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "algorithm" // for min | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType, PointerType | |
#include "llvm/IR/Instructions.h" // for PHINode, LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "swift/ABI/MetadataValues.h" // for ValueWitnessFlags | |
#include "swift/Basic/ClusteredBitVector.h" // for ClusteredBitVector, Clus... | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace llvm { class BasicBlock; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenArchetype.h should add these lines: | |
namespace swift { class CanType; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenArchetype.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenArchetype.h: | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "swift/AST/Types.h" // for CanArchetypeType, CanOpaqueTypeArche... | |
namespace llvm { class Value; } // lines 24-24 | |
namespace swift { class AssociatedType; } // lines 28-28 | |
namespace swift { class CanType; } | |
namespace swift { class ProtocolDecl; } // lines 29-29 | |
namespace swift { class SILType; } // lines 30-30 | |
namespace swift { namespace irgen { class Address; } } // lines 33-33 | |
namespace swift { namespace irgen { class DynamicMetadataRequest; } } // lines 35-35 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 34-34 | |
namespace swift { namespace irgen { class MetadataResponse; } } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenArchetype.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "GenericRequirement.h" // for GenericRequirement | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, SpareBitVector | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "LocalTypeDataKind.h" // for LocalTypeDataKind | |
#include "MetadataPath.h" // for MetadataPath | |
#include "ScalarTypeInfo.h" // for PODSingleScalarTypeInfo | |
#include "TypeLayout.h" // for ArchetypeLayoutEntry | |
#include "WitnessIndex.h" // for WitnessIndex | |
#include "algorithm" // for find | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/IR/Attributes.h" // for Attribute, Attribute::... | |
#include "llvm/IR/Constants.h" // for ConstantInt, UndefValue | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Conf... | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Layo... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedType, Associ... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
namespace llvm { class Type; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenArchetype.cpp should remove these lines: | |
- #include "EnumPayload.h" // lines 35-35 | |
- #include "Explosion.h" // lines 36-36 | |
- #include "FixedTypeInfo.h" // lines 37-37 | |
- #include "GenClass.h" // lines 38-38 | |
- #include "GenHeap.h" // lines 39-39 | |
- #include "GenMeta.h" // lines 40-40 | |
- #include "GenOpaque.h" // lines 41-41 | |
- #include "GenPoly.h" // lines 42-42 | |
- #include "IRGenDebugInfo.h" // lines 46-46 | |
- #include "llvm/ADT/SmallString.h" // lines 27-27 | |
- #include "llvm/IR/Module.h" // lines 32-32 | |
- #include "llvm/Support/raw_ostream.h" // lines 33-33 | |
- #include "swift/AST/ASTContext.h" // lines 19-19 | |
- #include "swift/IRGen/Linking.h" // lines 24-24 | |
- #include "swift/SIL/SILValue.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenArchetype.cpp: | |
#include "GenArchetype.h" | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "GenProto.h" // for setTypeMetadataName | |
#include "GenType.h" // for TypeConverter | |
#include "GenericRequirement.h" // for GenericRequirement | |
#include "HeapTypeInfo.h" // for HeapTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, SpareBitVector | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "LocalTypeDataKind.h" // for LocalTypeDataKind | |
#include "MetadataPath.h" // for MetadataPath | |
#include "MetadataRequest.h" // for MetadataResponse, Dyna... | |
#include "Outlining.h" // for OutliningMetadataColle... | |
#include "ProtocolInfo.h" // for ProtocolInfo, Protocol... | |
#include "ResilientTypeInfo.h" // for ResilientTypeInfo | |
#include "ScalarTypeInfo.h" // for PODSingleScalarTypeInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for ArchetypeLayoutEntry | |
#include "WitnessIndex.h" // for WitnessIndex | |
#include "algorithm" // for find | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/IR/Attributes.h" // for Attribute, Attribute::... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, UndefValue | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, StructType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/Instructions.h" // for CallInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/Decl.h" // for AbstractStorageDecl | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, Conf... | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/LayoutConstraint.h" // for LayoutConstraint, Layo... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedType, Associ... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/AST/Types.h" // for OpaqueTypeArchetypeType | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
namespace llvm { class Type; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenBuiltin.h should add these lines: | |
namespace swift { class SubstitutionMap; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenBuiltin.h should remove these lines: | |
- #include "swift/AST/SubstitutionMap.h" // lines 21-21 | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenBuiltin.h: | |
namespace swift { class BuiltinInfo; } // lines 25-25 | |
namespace swift { class Identifier; } // lines 26-26 | |
namespace swift { class SILType; } // lines 27-27 | |
namespace swift { class SubstitutionMap; } | |
namespace swift { namespace irgen { class Explosion; } } // lines 30-30 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 31-31 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenBuiltin.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen | |
#include "Address.h" // for Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Alignment | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/AST/CanonicalType.h" // for CanQual | |
#include "clang/Basic/LangOptions.h" // for LangOptions | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTem... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for Attribute, AttributeList | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for UndefValue, ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, IntegerType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalValue::L... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/InstrTypes.h" // for CmpInst, ID, CmpInst::FCMP_OEQ | |
#include "llvm/IR/Instruction.h" // for Instruction, Instruction::C... | |
#include "llvm/IR/Instructions.h" // for CallInst, AtomicRMWInst | |
#include "llvm/IR/IntrinsicEnums.inc" // for ptrauth_resign, ptrauth_strip | |
#include "llvm/IR/LLVMContext.h" // for SingleThread, System, LLVMC... | |
#include "llvm/IR/Metadata.h" // for ConstantAsMetadata, MDNode | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/User.h" // for User | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/ProfileData/InstrProf.h" // for createPGOFuncNameVar, getPG... | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/AtomicOrdering.h" // for AtomicOrdering, AtomicOrder... | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/Compiler.h" // for llvm | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ProtocolDecl | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/SILOptions.h" // for SILOptions, SILOptions::Debug | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, isa, cast | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa, swift | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace llvm { class BasicBlock; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenBuiltin.cpp should remove these lines: | |
- #include "GenCast.h" // lines 30-30 | |
- #include "LoadableTypeInfo.h" // lines 35-35 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenBuiltin.cpp: | |
#include "GenBuiltin.h" | |
#include <assert.h> // for assert | |
#include <string.h> // for strlen | |
#include "Address.h" // for Address | |
#include "Explosion.h" // for Explosion, ExplosionSchema | |
#include "GenCall.h" // for extractScalarResults | |
#include "GenIntegerLiteral.h" // for emitIntegerLiteralCheckedTrunc | |
#include "GenPointerAuth.h" // for PointerAuthEntity | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Alignment | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule::(... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/CanonicalType.h" // for CanQual | |
#include "clang/Basic/LangOptions.h" // for LangOptions | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTem... | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator== | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for Attribute, AttributeList | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for UndefValue, ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, IntegerType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalValue::L... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/InstrTypes.h" // for CmpInst, ID, CmpInst::FCMP_OEQ | |
#include "llvm/IR/Instruction.h" // for Instruction, Instruction::C... | |
#include "llvm/IR/Instructions.h" // for CallInst, AtomicRMWInst | |
#include "llvm/IR/IntrinsicEnums.inc" // for ptrauth_resign, ptrauth_strip | |
#include "llvm/IR/Intrinsics.h" // for getDeclaration, not_intrinsic | |
#include "llvm/IR/LLVMContext.h" // for SingleThread, System, LLVMC... | |
#include "llvm/IR/Metadata.h" // for ConstantAsMetadata, MDNode | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/User.h" // for User | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/ProfileData/InstrProf.h" // for createPGOFuncNameVar, getPG... | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/AtomicOrdering.h" // for AtomicOrdering, AtomicOrder... | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/Compiler.h" // for llvm | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Builtins.def" // lines 389-389 | |
#include "swift/AST/Builtins.h" // for BuiltinInfo, BuiltinValueKind | |
#include "swift/AST/Decl.h" // for ProtocolDecl | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/SILOptions.h" // for SILOptions, SILOptions::Debug | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for Type, isa, cast | |
#include "swift/AST/Types.h" // for TypeBase, TypeTraitResult | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa, swift | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
#include "utility" // for pair | |
namespace llvm { class BasicBlock; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCall.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "utility" // for pair | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCall.h should remove these lines: | |
- #include <stdint.h> // lines 21-21 | |
- #include "swift/Basic/LLVM.h" // lines 23-23 | |
- namespace llvm { class Constant; } // lines 29-29 | |
- namespace swift { namespace irgen { class TypeInfo; } } // lines 53-53 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenCall.h: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/IR/CallingConv.h" // for ID | |
#include "swift/AST/Types.h" // for CanSILFunctionType, SILFunctionType... | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "utility" // for pair | |
namespace clang { class Type; } // lines 37-37 | |
namespace clang { template <class> class CanQual; } // lines 36-36 | |
namespace llvm { class AttributeList; } // lines 28-28 | |
namespace llvm { class Twine; } // lines 30-30 | |
namespace llvm { class Type; } // lines 31-31 | |
namespace llvm { class Value; } // lines 32-32 | |
namespace swift { namespace irgen { class Address; } } // lines 42-42 | |
namespace swift { namespace irgen { class Alignment; } } // lines 43-43 | |
namespace swift { namespace irgen { class Callee; } } // lines 44-44 | |
namespace swift { namespace irgen { class CalleeInfo; } } // lines 45-45 | |
namespace swift { namespace irgen { class Explosion; } } // lines 46-46 | |
namespace swift { namespace irgen { class ExplosionSchema; } } // lines 47-47 | |
namespace swift { namespace irgen { class ForeignFunctionInfo; } } // lines 48-48 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 49-49 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 50-50 | |
namespace swift { namespace irgen { class LoadableTypeInfo; } } // lines 51-51 | |
namespace swift { namespace irgen { class Size; } } // lines 52-52 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCall.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address, StackAddress | |
#include "Callee.h" // for Callee, FunctionPointer | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "IRBuilder.h" // for IRBuilder, IRBuilder::... | |
#include "IRGen.h" // for Size, Alignment, opera... | |
#include "Temporary.h" // for TemporarySet | |
#include "TypeInfo.h" // for TypeInfo | |
#include "__functional_base" // for less | |
#include "algorithm" // for max, reverse | |
#include "clang/AST/CanonicalType.h" // for CanProxyAdaptor, CanQual | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/Decl.h" // for FieldDecl, RecordDecl | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/AST/Type.h" // for BuiltinType, Type, Rec... | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "clang/Basic/Specifiers.h" // for ParameterABI, Paramete... | |
#include "clang/CodeGen/CGFunctionInfo.h" // for ABIArgInfo, CGFunction... | |
#include "clang/CodeGen/SwiftCallingConv.h" // for shouldPassIndirectly | |
#include "iterator" // for reverse_iterator | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref, filter_i... | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList, AttrBui... | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock | |
#include "llvm/IR/Constants.h" // for UndefValue, ConstantPo... | |
#include "llvm/IR/DataLayout.h" // for DataLayout, StructLayout | |
#include "llvm/IR/DerivedTypes.h" // for StructType, PointerType | |
#include "llvm/IR/Function.h" // for Function, Function::Ba... | |
#include "llvm/IR/InstrTypes.h" // for OperandBundleDef | |
#include "llvm/IR/Instruction.h" // for Instruction | |
#include "llvm/IR/Instructions.h" // for CallInst, AllocaInst | |
#include "llvm/IR/IntrinsicEnums.inc" // for coro_begin, coro_id_re... | |
#include "llvm/IR/Intrinsics.h" // for ID | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Use.h" // for Use | |
#include "llvm/IR/Value.h" // for Value, Value::use_iter... | |
#include "llvm/Support/Alignment.h" // for Align, MaybeAlign | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize, operator== | |
#include "memory" // for unique_ptr, operator!= | |
#include "swift/AST/IRGenOptions.h" // for PointerAuthOptions | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, dyn_cast, Type | |
#include "swift/Basic/LLVM.h" // for cast, isa, dyn_cast | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunctionConventions.h" // for SILFunctionConventions | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_reference... | |
namespace llvm { struct fltSemantics; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCall.cpp should remove these lines: | |
- #include "llvm/IR/GlobalPtrAuthInfo.h" // lines 31-31 | |
- #include "swift/Runtime/Config.h" // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenCall.cpp: | |
#include "GenCall.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address, StackAddress | |
#include "CallEmission.h" // for CallEmission | |
#include "Callee.h" // for Callee, FunctionPointer | |
#include "Explosion.h" // for Explosion, ExplosionSc... | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenObjC.h" // for emitObjCRetainAutorele... | |
#include "GenPointerAuth.h" // for PointerAuthEntity, emi... | |
#include "GenPoly.h" // for hasPolymorphicParameters | |
#include "GenProto.h" // for WitnessMetadata, expan... | |
#include "GenType.h" // for GenericContextScope | |
#include "IRBuilder.h" // for IRBuilder, IRBuilder::... | |
#include "IRGen.h" // for Size, Alignment, opera... | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "NativeConventionSchema.h" // for NativeConventionSchema | |
#include "Signature.h" // for Signature, ForeignFunc... | |
#include "Temporary.h" // for TemporarySet | |
#include "TypeInfo.h" // for TypeInfo | |
#include "__functional_base" // for less | |
#include "algorithm" // for max, reverse | |
#include "clang/AST/ASTContext.h" // for ASTContext, BuiltinTyp... | |
#include "clang/AST/BuiltinTypes.def" // lines 807-807 | |
#include "clang/AST/BuiltinTypes.def" // lines 898-898 | |
#include "clang/AST/CanonicalType.h" // for CanProxyAdaptor, CanQual | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/Decl.h" // for FieldDecl, RecordDecl | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/AST/RecordLayout.h" // for ASTRecordLayout | |
#include "clang/AST/Type.h" // for BuiltinType, Type, Rec... | |
#include "clang/AST/TypeNodes.inc" // lines 700-700 | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "clang/Basic/Specifiers.h" // for ParameterABI, Paramete... | |
#include "clang/Basic/TargetInfo.h" // for TargetInfo | |
#include "clang/CodeGen/CGFunctionInfo.h" // for ABIArgInfo, CGFunction... | |
#include "clang/CodeGen/CodeGenABITypes.h" // for arrangeFreeFunctionCall | |
#include "clang/CodeGen/ModuleBuilder.h" // for CodeGenerator | |
#include "clang/CodeGen/SwiftCallingConv.h" // for shouldPassIndirectly | |
#include "iterator" // for reverse_iterator | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref, filter_i... | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/iterator.h" // for iterator_facade_base | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList, AttrBui... | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock | |
#include "llvm/IR/Constants.h" // for UndefValue, ConstantPo... | |
#include "llvm/IR/DataLayout.h" // for DataLayout, StructLayout | |
#include "llvm/IR/DerivedTypes.h" // for StructType, PointerType | |
#include "llvm/IR/Function.h" // for Function, Function::Ba... | |
#include "llvm/IR/InstrTypes.h" // for OperandBundleDef | |
#include "llvm/IR/Instruction.h" // for Instruction | |
#include "llvm/IR/Instructions.h" // for CallInst, AllocaInst | |
#include "llvm/IR/IntrinsicEnums.inc" // for coro_begin, coro_id_re... | |
#include "llvm/IR/Intrinsics.h" // for ID | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Use.h" // for Use | |
#include "llvm/IR/Value.h" // for Value, Value::use_iter... | |
#include "llvm/Support/Alignment.h" // for Align, MaybeAlign | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize, operator== | |
#include "memory" // for unique_ptr, operator!= | |
#include "swift/ABI/MetadataValues.h" // for NumWords_YieldManyBuffer | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/IRGenOptions.h" // for PointerAuthOptions | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, dyn_cast, Type | |
#include "swift/Basic/LLVM.h" // for cast, isa, dyn_cast | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunctionConventions.h" // for SILFunctionConventions | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_reference... | |
namespace llvm { struct fltSemantics; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCast.h should add these lines: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/Optional.h" // for Optional | |
namespace swift { class CanType; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCast.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenCast.h: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/AST/Types.h" // for CanAnyMetatypeType, CanMetatypeType | |
namespace llvm { class Value; } // lines 23-23 | |
namespace swift { class CanType; } | |
namespace swift { class ProtocolDecl; } // lines 28-28 | |
namespace swift { class SILType; } // lines 27-27 | |
namespace swift { namespace irgen { class Address; } } // lines 32-32 | |
namespace swift { namespace irgen { class Explosion; } } // lines 34-34 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 33-33 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCast.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVecto... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantPointerNull | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, ArrayType | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalValu... | |
#include "llvm/IR/Instructions.h" // for CallInst, PHINode, Load... | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream | |
#include "memory" // for unique_ptr | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ProtocolDecl, ClassDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/Consumption.h" // for shouldDestroyOnFailure | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move, enable_if<>::type | |
namespace llvm { class Type; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCast.cpp should remove these lines: | |
- #include "GenProto.h" // lines 23-23 | |
- #include "swift/SIL/SILInstruction.h" // lines 33-33 | |
- #include "swift/SIL/SILModule.h" // lines 34-34 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenCast.cpp: | |
#include "GenCast.h" | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "Explosion.h" // for Explosion, ExplosionSchema | |
#include "GenEnum.h" // for emitProjectLoadableEnum | |
#include "GenExistential.h" // for emitClassExistentialPro... | |
#include "GenHeap.h" // for emitDynamicTypeOfHeapOb... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction, Conditio... | |
#include "IRGenModule.h" // for IRGenModule, IRGenModul... | |
#include "MetadataRequest.h" // for emitClassHeapMetadataRef | |
#include "TypeInfo.h" // for TypeInfo | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVecto... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantPointerNull | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, ArrayType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalValu... | |
#include "llvm/IR/Instructions.h" // for CallInst, PHINode, Load... | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream | |
#include "memory" // for unique_ptr | |
#include "swift/ABI/MetadataValues.h" // for operator|=, DynamicCast... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for ProtocolDecl, ClassDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout, Exis... | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/Consumption.h" // for shouldDestroyOnFailure | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "type_traits" // for move, enable_if<>::type | |
namespace llvm { class Type; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClangDecl.cpp should add these lines: | |
#include "IRGen.h" // for irgen | |
#include "clang/AST/DeclBase.h" // for Decl, DeclContext | |
#include "clang/AST/Expr.h" // for DeclRefExpr | |
#include "functional" // for function, __base | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast | |
#include "memory" // for unique_ptr | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition_t | |
#include "utility" // for pair | |
namespace clang { class ASTContext; } | |
namespace llvm { class Constant; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClangDecl.cpp should remove these lines: | |
- #include "llvm/ADT/SmallPtrSet.h" // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenClangDecl.cpp: | |
#include "IRGen.h" // for irgen | |
#include "IRGenModule.h" // for IRGenModule | |
#include "clang/AST/Decl.h" // for FunctionDecl, VarDecl | |
#include "clang/AST/DeclBase.h" // for Decl, DeclContext | |
#include "clang/AST/DeclGroup.h" // for DeclGroupRef | |
#include "clang/AST/Expr.h" // for DeclRefExpr | |
#include "clang/AST/GlobalDecl.h" // for GlobalDecl | |
#include "clang/AST/RecursiveASTVisitor.h" // for RecursiveASTVisitor | |
#include "clang/CodeGen/ModuleBuilder.h" // for CodeGenerator | |
#include "functional" // for function, __base | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast | |
#include "memory" // for unique_ptr | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition_t | |
#include "utility" // for pair | |
namespace clang { class ASTContext; } | |
namespace llvm { class Constant; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClangType.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <string.h> // for memcpy | |
#include "IRGen.h" // for irgen | |
#include "clang/AST/Attrs.inc" // for ObjCRuntimeNameAttr | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/Basic/IdentifierTable.h" // for IdentifierTable, Iden... | |
#include "clang/Basic/SourceLocation.h" // for SourceLocation | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIte... | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, rep... | |
#include "llvm/Support/raw_ostream.h" // for raw_string_ostream | |
#include "new" // for operator delete, oper... | |
#include "string" // for basic_string | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LookupKinds.h" // for NLKind, NLKind::Quali... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/Type.h" // for CanType, Type, DenseM... | |
#include "swift/AST/Types.h" // for CanTypeWrapper, SILFu... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, dyn_c... | |
#include "swift/SIL/SILFunctionConventions.h" // for SILParameterInfo::get... | |
#include "type_traits" // for move, conditional<>::... | |
namespace llvm { struct fltSemantics; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClangType.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 29-29 | |
- #include "swift/AST/NameLookup.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenClangType.cpp: | |
#include <assert.h> // for assert | |
#include <string.h> // for memcpy | |
#include "IRGen.h" // for irgen | |
#include "IRGenModule.h" // for IRGenModule | |
#include "clang/AST/ASTContext.h" // for ASTContext, BuiltinTy... | |
#include "clang/AST/Attrs.inc" // for ObjCRuntimeNameAttr | |
#include "clang/AST/BuiltinTypes.def" // lines 81-81 | |
#include "clang/AST/CanonicalType.h" // for CanQual, CanProxy | |
#include "clang/AST/Decl.h" // for TypedefDecl, TypeDecl | |
#include "clang/AST/DeclObjC.h" // for ObjCInterfaceDecl | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/AST/Type.h" // for BuiltinType, QualType | |
#include "clang/Basic/AArch64SVEACLETypes.def" // lines 93-93 | |
#include "clang/Basic/IdentifierTable.h" // for IdentifierTable, Iden... | |
#include "clang/Basic/OpenCLExtensionTypes.def" // lines 89-89 | |
#include "clang/Basic/OpenCLImageTypes.def" // lines 85-85 | |
#include "clang/Basic/SourceLocation.h" // for SourceLocation | |
#include "clang/Basic/TargetInfo.h" // for TargetInfo | |
#include "clang/Sema/Sema.h" // for Sema, Sema::LookupOrd... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIte... | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVec... | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/ADT/StringSwitch.h" // for StringSwitch | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable, rep... | |
#include "llvm/Support/raw_ostream.h" // for raw_string_ostream | |
#include "new" // for operator delete, oper... | |
#include "string" // for basic_string | |
#include "swift/AST/ASTContext.h" // for ASTContext, KnownFoun... | |
#include "swift/AST/CanTypeVisitor.h" // for CanTypeVisitor | |
#include "swift/AST/ClangModuleLoader.h" // for ClangModuleLoader | |
#include "swift/AST/Decl.h" // for TypeDecl, NominalType... | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LookupKinds.h" // for NLKind, NLKind::Quali... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/Type.h" // for CanType, Type, DenseM... | |
#include "swift/AST/Types.h" // for CanTypeWrapper, SILFu... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, dyn_c... | |
#include "swift/ClangImporter/BuiltinMappedTypes.def" // lines 324-324 | |
#include "swift/ClangImporter/ClangImporter.h" // for ClangImporter | |
#include "swift/ClangImporter/SIMDMappedTypes.def" // lines 240-240 | |
#include "swift/SIL/SILFunctionConventions.h" // for SILParameterInfo::get... | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move, conditional<>::... | |
namespace llvm { struct fltSemantics; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClass.h should add these lines: | |
#include <stdint.h> // for uint8_t | |
#include "utility" // for pair | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class CanType; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClass.h should remove these lines: | |
- #include "llvm/ADT/SmallVector.h" // lines 21-21 | |
- namespace llvm { class Function; } // lines 27-27 | |
- namespace swift { namespace irgen { class HeapLayout; } } // lines 41-41 | |
- namespace swift { namespace irgen { class TypeInfo; } } // lines 49-49 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenClass.h: | |
#include <stdint.h> // for uint8_t | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
#include "utility" // for pair | |
namespace llvm { class Constant; } // lines 25-25 | |
namespace llvm { class Value; } // lines 26-26 | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class CanType; } | |
namespace swift { class ClassDecl; } // lines 31-31 | |
namespace swift { class ExtensionDecl; } // lines 32-32 | |
namespace swift { class ProtocolDecl; } // lines 33-33 | |
namespace swift { class SILType; } // lines 35-35 | |
namespace swift { class VarDecl; } // lines 36-36 | |
namespace swift { namespace irgen { class Address; } } // lines 46-46 | |
namespace swift { namespace irgen { class ConstantStructBuilder; } } // lines 39-39 | |
namespace swift { namespace irgen { class FunctionPointer; } } // lines 40-40 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 42-42 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 43-43 | |
namespace swift { namespace irgen { class MemberAccessStrategy; } } // lines 44-44 | |
namespace swift { namespace irgen { class OwnedAddress; } } // lines 45-45 | |
namespace swift { namespace irgen { class Size; } } // lines 47-47 | |
namespace swift { namespace irgen { class StructLayout; } } // lines 48-48 | |
namespace swift { struct SILDeclRef; } // lines 34-34 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClass.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address, OwnedAddress | |
#include "DebugTypeInfo.h" // for DebugTypeInfo | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, operator*, Ali... | |
#include "Signature.h" // for Signature | |
#include "StructLayout.h" // for ElementLayout, Layou... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/CodeGen/ConstantInitBuilder.h" // for ConstantInitBuilderT... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIt... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/SetVector.h" // for SmallSetVector | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::COFF | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, Constan... | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::Private... | |
#include "llvm/IR/Instructions.h" // for LoadInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/PointerLikeTypeTraits.h" // for PointerLikeTypeTraits | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/AST/Attr.h" // for DeclAttributes, Swif... | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/DeclContext.h" // for DeclRange, Conforman... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier, operator<< | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Stmt.h" // for BraceStmt | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, CanType, dyn_cast | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, conditional<>:... | |
namespace swift { class TypeLoc; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenClass.cpp should remove these lines: | |
- #include "GenFunc.h" // lines 45-45 | |
- #include "GenProto.h" // lines 49-49 | |
- #include "swift/AST/Pattern.h" // lines 26-26 | |
- #include "swift/ClangImporter/ClangModule.h" // lines 30-30 | |
- #include "swift/SIL/SILVTableVisitor.h" // lines 34-34 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenClass.cpp: | |
#include "GenClass.h" | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address, OwnedAddress | |
#include "Callee.h" // for FunctionPointer, Poi... | |
#include "ClassLayout.h" // for ClassLayout, FieldAc... | |
#include "ConstantBuilder.h" // for ConstantStructBuilder | |
#include "DebugTypeInfo.h" // for DebugTypeInfo | |
#include "Explosion.h" // for Explosion | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenHeap.h" // for emitHeapMetadataRefF... | |
#include "GenMeta.h" // for emitClassMetadata | |
#include "GenObjC.h" // for emitObjCAllocObjectCall | |
#include "GenPointerAuth.h" // for PointerAuthEntity | |
#include "GenType.h" // for TypeConverter, Lower... | |
#include "HeapTypeInfo.h" // for HeapTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, operator*, Ali... | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenMo... | |
#include "MemberAccessStrategy.h" // for MemberAccessStrategy | |
#include "MetadataLayout.h" // for ClassMetadataLayout | |
#include "MetadataRequest.h" // for emitClassHeapMetadat... | |
#include "Signature.h" // for Signature | |
#include "StructLayout.h" // for ElementLayout, Layou... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/CodeGen/ConstantInitBuilder.h" // for ConstantInitBuilderT... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIt... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion | |
#include "llvm/ADT/SetVector.h" // for SmallSetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::COFF | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, Constan... | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, StructType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::Private... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for LoadInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/PointerLikeTypeTraits.h" // for PointerLikeTypeTraits | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/ABI/Class.h" // for operator|=, ObjCClas... | |
#include "swift/ABI/MetadataValues.h" // for ProtocolDescriptorFlags | |
#include "swift/AST/ASTContext.h" // for ASTContext, KnownFou... | |
#include "swift/AST/AccessorKinds.def" // lines 1563-1563 | |
#include "swift/AST/Attr.h" // for DeclAttributes, Swif... | |
#include "swift/AST/AttrKind.h" // for NSManagedAttr, NSCop... | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/Decl.h" // for ClassDecl, VarDecl | |
#include "swift/AST/DeclContext.h" // for DeclRange, Conforman... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions, Pointe... | |
#include "swift/AST/Identifier.h" // for Identifier, operator<< | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceDecl | |
#include "swift/AST/ProtocolConformance.h" // for ProtocolConformance | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Stmt.h" // for BraceStmt | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for Type, CanType, dyn_cast | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/AST/TypeMemberVisitor.h" // for ClassMemberVisitor | |
#include "swift/AST/Types.h" // for TypeBase, ArchetypeType | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/OptionSet.h" // for operator|= | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/STLExtras.h" // for OptionalTransformRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/IRGen/Linking.h" // for LinkEntity, TypeMeta... | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILModule.h" // for usesObjCAllocator | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, conditional<>:... | |
namespace swift { class TypeLoc; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenConstant.h should add these lines: | |
namespace llvm { class Constant; } | |
namespace swift { class BuiltinInst; } | |
namespace swift { class FloatLiteralInst; } | |
namespace swift { class IntegerLiteralInst; } | |
namespace swift { class ObjectInst; } | |
namespace swift { class StringLiteralInst; } | |
namespace swift { class StructInst; } | |
namespace swift { class TupleInst; } | |
namespace swift { namespace irgen { class IRGenModule; } } | |
namespace swift { namespace irgen { class StructLayout; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenConstant.h should remove these lines: | |
- #include "IRGenModule.h" // lines 22-22 | |
- #include "llvm/IR/Constant.h" // lines 20-20 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenConstant.h: | |
namespace llvm { class Constant; } | |
namespace swift { class BuiltinInst; } | |
namespace swift { class FloatLiteralInst; } | |
namespace swift { class IntegerLiteralInst; } | |
namespace swift { class ObjectInst; } | |
namespace swift { class StringLiteralInst; } | |
namespace swift { class StructInst; } | |
namespace swift { class TupleInst; } | |
namespace swift { namespace irgen { class IRGenModule; } } | |
namespace swift { namespace irgen { class StructLayout; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenConstant.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "IRGen.h" // for Size, irgen | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule:... | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorT... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/DerivedTypes.h" // for StructType, IntegerType | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Builtins.h" // for BuiltinValueKind, Builtin... | |
#include "swift/AST/Decl.h" // for StructDecl | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/AST/Type.h" // for CanType, Type, cast, dyn_... | |
#include "swift/AST/Types.h" // for BuiltinFloatType, Builtin... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/SIL/SILGlobalVariable.h" // for SILGlobalVariable | |
#include "swift/SIL/SILInstruction.h" // for BuiltinInst, StringLitera... | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/SILValue.h" // for SILValue, OperandValueArr... | |
namespace llvm { struct fltSemantics; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenConstant.cpp should remove these lines: | |
- #include "swift/Basic/Range.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenConstant.cpp: | |
#include "GenConstant.h" | |
#include <assert.h> // for assert | |
#include "GenIntegerLiteral.h" // for emitConstantIntegerLiteral | |
#include "GenStruct.h" // for getPhysicalStructFieldIndex | |
#include "GenTuple.h" // for getPhysicalTupleElementSt... | |
#include "IRGen.h" // for Size, irgen | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule:... | |
#include "StructLayout.h" // for StructLayout, ElementLayout | |
#include "TypeInfo.h" // for TypeInfo | |
#include "llvm/ADT/APFloat.h" // for APFloat | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorT... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantExpr, ConstantFP | |
#include "llvm/IR/DerivedTypes.h" // for StructType, IntegerType | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Builtins.h" // for BuiltinValueKind, Builtin... | |
#include "swift/AST/Decl.h" // for StructDecl | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/AST/Type.h" // for CanType, Type, cast, dyn_... | |
#include "swift/AST/Types.h" // for BuiltinFloatType, Builtin... | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/SIL/SILGlobalVariable.h" // for SILGlobalVariable | |
#include "swift/SIL/SILInstruction.h" // for BuiltinInst, StringLitera... | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/SILValue.h" // for SILValue, OperandValueArr... | |
namespace llvm { struct fltSemantics; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenControl.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "IRBuilder.h" // for IRBuilder, IRBuilder::IRBuilderBase | |
#include "IRGen.h" // for irgen | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock | |
#include "swift/Basic/LLVM.h" // for swift | |
/Users/varun/foss-swift/swift/lib/IRGen/GenControl.cpp should remove these lines: | |
- #include "llvm/ADT/STLExtras.h" // lines 17-17 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenControl.cpp: | |
#include <assert.h> // for assert | |
#include "IRBuilder.h" // for IRBuilder, IRBuilder::IRBuilderBase | |
#include "IRGen.h" // for irgen | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock | |
#include "llvm/IR/Function.h" // for Function::BasicBlockListType, Function | |
#include "swift/Basic/LLVM.h" // for swift | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCoverage.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "IRGen.h" // for irgen | |
#include "algorithm" // for find | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for makeArr... | |
#include "llvm/ADT/SmallString.h" // for SmallSt... | |
#include "llvm/ADT/SmallVector.h" // for SmallVe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/DerivedTypes.h" // for StructType | |
#include "llvm/IR/GlobalValue.h" // for GlobalV... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalV... | |
#include "llvm/ProfileData/Coverage/CoverageMapping.h" // for Counter... | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/raw_ostream.h" // for raw_str... | |
#include "string" // for basic_s... | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/SIL/SILCoverageMap.h" // for SILCove... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class LLVMContext; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenCoverage.cpp should remove these lines: | |
- #include "SwiftTargetInfo.h" // lines 19-19 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenCoverage.cpp: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "IRGen.h" // for irgen | |
#include "IRGenModule.h" // for IRGenMo... | |
#include "algorithm" // for find | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for makeArr... | |
#include "llvm/ADT/SmallString.h" // for SmallSt... | |
#include "llvm/ADT/SmallVector.h" // for SmallVe... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for Constan... | |
#include "llvm/IR/DerivedTypes.h" // for StructType | |
#include "llvm/IR/GlobalValue.h" // for GlobalV... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalV... | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/ProfileData/Coverage/CoverageMapping.h" // for Counter... | |
#include "llvm/ProfileData/Coverage/CoverageMappingWriter.h" // for Coverag... | |
#include "llvm/ProfileData/InstrProf.h" // for getCove... | |
#include "llvm/ProfileData/InstrProfData.inc" // lines 88-88 | |
#include "llvm/ProfileData/InstrProfData.inc" // lines 123-123 | |
#include "llvm/ProfileData/InstrProfData.inc" // lines 150-150 | |
#include "llvm/ProfileData/InstrProfData.inc" // lines 157-157 | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/FileSystem.h" // for make_ab... | |
#include "llvm/Support/raw_ostream.h" // for raw_str... | |
#include "string" // for basic_s... | |
#include "swift/AST/ResilienceExpansion.h" // for swift | |
#include "swift/SIL/SILCoverageMap.h" // for SILCove... | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class LLVMContext; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDecl.h should add these lines: | |
#include "functional" // for __base | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "swift/AST/Evaluator.h" // for None | |
namespace llvm { class GlobalValue; } | |
namespace llvm { class GlobalVariable; } | |
namespace llvm { class Type; } | |
namespace swift { class SILLocation; } | |
namespace swift { namespace irgen { class Alignment; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDecl.h should remove these lines: | |
- #include "IRGen.h" // lines 25-25 | |
- #include "llvm/IR/CallingConv.h" // lines 22-22 | |
- #include "swift/SIL/SILLocation.h" // lines 21-21 | |
- namespace llvm { class AttributeList; } // lines 28-28 | |
- namespace llvm { class FunctionType; } // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenDecl.h: | |
#include "DebugTypeInfo.h" // for DebugTypeInfo | |
#include "functional" // for __base | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/Support/CommandLine.h" // for opt | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/Basic/OptimizationMode.h" // for OptimizationMode, Optimiza... | |
namespace llvm { class Function; } // lines 29-29 | |
namespace llvm { class GlobalValue; } | |
namespace llvm { class GlobalVariable; } | |
namespace llvm { class Type; } | |
namespace swift { class SILLocation; } | |
namespace swift { namespace irgen { class Alignment; } } | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 34-34 | |
namespace swift { namespace irgen { class LinkEntity; } } // lines 35-35 | |
namespace swift { namespace irgen { class LinkInfo; } } // lines 36-36 | |
namespace swift { namespace irgen { class Signature; } } // lines 37-37 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDecl.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include "Address.h" // for Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for ConstantInit, Ali... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "algorithm" // for for_each | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/Decl.h" // for FunctionDecl, Var... | |
#include "clang/Basic/ABI.h" // for Ctor_Complete | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArr... | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMa... | |
#include "llvm/ADT/DenseSet.h" // for DenseSet, DenseSe... | |
#include "llvm/ADT/STLExtras.h" // for all_of, function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector, SmallS... | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, Smal... | |
#include "llvm/ADT/StringMap.h" // for StringMap, String... | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::COFF | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/ilist_iterator.h" // for ilist_iterator | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock, Basic... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, Cons... | |
#include "llvm/IR/DataLayout.h" // for DataLayout | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, Func... | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, Glob... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/IRBuilder.h" // for IRBuilderBase | |
#include "llvm/IR/Instructions.h" // for CallInst, AllocaInst | |
#include "llvm/IR/Metadata.h" // for ConstantAsMetadata | |
#include "llvm/IR/SymbolTableListTraits.h" // for SymbolTableList | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Use.h" // for Use | |
#include "llvm/IR/User.h" // for User::op_range | |
#include "llvm/IR/ValueHandle.h" // for WeakTrackingVH | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceE... | |
#include "llvm/Support/TypeSize.h" // for TypeSize | |
#include "llvm/Support/VersionTuple.h" // for operator<=, Versi... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "string" // for basic_string, ope... | |
#include "swift/ABI/MetadataValues.h" // for TypeReferenceKind | |
#include "swift/AST/ASTMangler.h" // for ASTMangler, ASTMa... | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/AttrKind.h" // for OptionalAttr, Acc... | |
#include "swift/AST/DeclContext.h" // for DeclContext, Decl... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LinkLibrary.h" // for LinkLibrary, Libr... | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConform... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILOptions.h" // for SILOptions | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/SynthesizedFileUnit.h" // for SynthesizedFileUnit | |
#include "swift/AST/Type.h" // for CanType, Type, isa | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter | |
#include "swift/Basic/SuccessorMap.h" // for SuccessorMap | |
#include "swift/IRGen/ValueWitness.h" // for ValueWitness, irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition_t | |
#include "swift/SIL/SILDefaultWitnessTable.h" // for SILDefaultWitness... | |
#include "swift/SIL/SILDifferentiabilityWitness.h" // for SILDifferentiabil... | |
#include "swift/SIL/SILFunction.h" // for SILFunction, SWIF... | |
#include "swift/SIL/SILGlobalVariable.h" // for SILGlobalVariable | |
#include "swift/SIL/SILInstruction.h" // for ObjectInst | |
#include "swift/SIL/SILLinkage.h" // for SILLinkage, hasPu... | |
#include "swift/SIL/SILLocation.h" // for SILLocation | |
#include "swift/SIL/SILProperty.h" // for SILProperty | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/SILValue.h" // for SILValue, Operand... | |
#include "swift/SIL/SILWitnessTable.h" // for SILWitnessTable | |
#include "type_traits" // for move, conditional... | |
#include "utility" // for make_pair, pair | |
#include "vector" // for vector | |
namespace clang { class Decl; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDecl.cpp should remove these lines: | |
- #include "Explosion.h" // lines 55-55 | |
- #include "GenCall.h" // lines 57-57 | |
- #include "GenProto.h" // lines 64-64 | |
- #include "IRGenMangler.h" // lines 68-68 | |
- #include "LoadableTypeInfo.h" // lines 70-70 | |
- #include "ProtocolInfo.h" // lines 72-72 | |
- #include "llvm/Support/Path.h" // lines 47-47 | |
- #include "llvm/Support/SaveAndRestore.h" // lines 48-48 | |
- #include "llvm/Target/TargetMachine.h" // lines 49-49 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 20-20 | |
- #include "swift/AST/GenericEnvironment.h" // lines 21-21 | |
- #include "swift/AST/NameLookup.h" // lines 25-25 | |
- #include "swift/AST/Pattern.h" // lines 26-26 | |
- #include "swift/Demangling/ManglingMacros.h" // lines 31-31 | |
- #include "swift/Runtime/HeapObject.h" // lines 33-33 | |
- #include "swift/SIL/FormalLinkage.h" // lines 34-34 | |
- #include "swift/SIL/SILDebugScope.h" // lines 35-35 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenDecl.cpp: | |
#include "GenDecl.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include "Address.h" // for Address | |
#include "Callee.h" // for PointerAuthInfo | |
#include "ConformanceDescription.h" // for ConformanceDescri... | |
#include "ConstantBuilder.h" // for ConstantStructBui... | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenClass.h" // for hasKnownSwiftMeta... | |
#include "GenMeta.h" // for requiresForeignTy... | |
#include "GenObjC.h" // for ObjCMethodDescriptor | |
#include "GenOpaque.h" // for getFixedBufferAli... | |
#include "GenPointerAuth.h" // for PointerAuthEntity | |
#include "GenType.h" // for TypeConverter | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for ConstantInit, Ali... | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGe... | |
#include "MetadataRequest.h" // for emitClassHeapMeta... | |
#include "Signature.h" // for Signature | |
#include "StructLayout.h" // for StructLayout | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "algorithm" // for for_each | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/Decl.h" // for FunctionDecl, Var... | |
#include "clang/AST/DeclCXX.h" // for CXXConstructorDecl | |
#include "clang/AST/GlobalDecl.h" // for GlobalDecl | |
#include "clang/Basic/ABI.h" // for Ctor_Complete | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArr... | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMa... | |
#include "llvm/ADT/DenseSet.h" // for DenseSet, DenseSe... | |
#include "llvm/ADT/STLExtras.h" // for all_of, function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector, SmallS... | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, Smal... | |
#include "llvm/ADT/StringMap.h" // for StringMap, String... | |
#include "llvm/ADT/StringSet.h" // for StringSet | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::COFF | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/ilist_iterator.h" // for ilist_iterator | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock, Basic... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, Cons... | |
#include "llvm/IR/DataLayout.h" // for DataLayout | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, Func... | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalAlias.h" // for GlobalAlias | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, Glob... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/IRBuilder.h" // for IRBuilderBase | |
#include "llvm/IR/InlineAsm.h" // for InlineAsm | |
#include "llvm/IR/Instructions.h" // for CallInst, AllocaInst | |
#include "llvm/IR/Metadata.h" // for ConstantAsMetadata | |
#include "llvm/IR/Module.h" // for Module, Module::F... | |
#include "llvm/IR/SymbolTableListTraits.h" // for SymbolTableList | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Use.h" // for Use | |
#include "llvm/IR/User.h" // for User::op_range | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/IR/ValueHandle.h" // for WeakTrackingVH | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ConvertUTF.h" // for UTF16, ConvertUTF... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/PrettyStackTrace.h" // for PrettyStackTraceE... | |
#include "llvm/Support/TypeSize.h" // for TypeSize | |
#include "llvm/Support/VersionTuple.h" // for operator<=, Versi... | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream | |
#include "llvm/Transforms/Utils/ModuleUtils.h" // for appendToGlobalCtors | |
#include "memory" // for unique_ptr | |
#include "new" // for operator delete | |
#include "string" // for basic_string, ope... | |
#include "swift/ABI/MetadataValues.h" // for TypeReferenceKind | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ASTMangler.h" // for ASTMangler, ASTMa... | |
#include "swift/AST/Attr.h" // for DeclAttributes | |
#include "swift/AST/AttrKind.h" // for OptionalAttr, Acc... | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext, Decl... | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions, Poi... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/LinkLibrary.h" // for LinkLibrary, Libr... | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConform... | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolCon... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILOptions.h" // for SILOptions | |
#include "swift/AST/SourceFile.h" // for SourceFile | |
#include "swift/AST/SynthesizedFileUnit.h" // for SynthesizedFileUnit | |
#include "swift/AST/Type.h" // for CanType, Type, isa | |
#include "swift/AST/TypeMemberVisitor.h" // for ClassMemberVisitor | |
#include "swift/AST/Types.h" // for TypeBase, OpaqueT... | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Located.h" // for Located | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Basic/Statistic.h" // for UnifiedStatsReporter | |
#include "swift/Basic/SuccessorMap.h" // for SuccessorMap | |
#include "swift/ClangImporter/ClangModule.h" // for ClangModuleUnit | |
#include "swift/IRGen/Linking.h" // for LinkEntity, LinkInfo | |
#include "swift/IRGen/ValueWitness.h" // for ValueWitness, irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition_t | |
#include "swift/SIL/SILDefaultWitnessTable.h" // for SILDefaultWitness... | |
#include "swift/SIL/SILDifferentiabilityWitness.h" // for SILDifferentiabil... | |
#include "swift/SIL/SILFunction.h" // for SILFunction, SWIF... | |
#include "swift/SIL/SILGlobalVariable.h" // for SILGlobalVariable | |
#include "swift/SIL/SILInstruction.h" // for ObjectInst | |
#include "swift/SIL/SILLinkage.h" // for SILLinkage, hasPu... | |
#include "swift/SIL/SILLocation.h" // for SILLocation | |
#include "swift/SIL/SILModule.h" // for SILModule, SILMod... | |
#include "swift/SIL/SILProperty.h" // for SILProperty | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/SILValue.h" // for SILValue, Operand... | |
#include "swift/SIL/SILWitnessTable.h" // for SILWitnessTable | |
#include "type_traits" // for move, conditional... | |
#include "utility" // for make_pair, pair | |
#include "vector" // for vector | |
namespace clang { class Decl; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDiffFunc.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "IRGen.h" // for Size, operator+, Align... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "StructLayout.h" // for StructLayout, LayoutKind | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for operator+, basic_string | |
#include "swift/AST/AutoDiff.h" // for NormalDifferentiableFu... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Type.h" // for LookUpConformanceInModule | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for cast | |
#include "type_traits" // for move | |
namespace clang { namespace CodeGen { namespace swiftcall { class SwiftAggLowering; } } } | |
namespace llvm { class Type; } | |
namespace swift { class IndexSubset; } | |
namespace swift { namespace irgen { class Explosion; } } | |
namespace swift { namespace irgen { class IRGenFunction; } } | |
namespace swift { namespace irgen { class TypeInfo; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDiffFunc.cpp should remove these lines: | |
- #include "Explosion.h" // lines 25-25 | |
- #include "GenHeap.h" // lines 26-26 | |
- #include "IRGenFunction.h" // lines 29-29 | |
- #include "IndirectTypeInfo.h" // lines 31-31 | |
- #include "NonFixedTypeInfo.h" // lines 32-32 | |
- #include "llvm/IR/DerivedTypes.h" // lines 23-23 | |
- #include "swift/AST/Decl.h" // lines 18-18 | |
- #include "swift/AST/Pattern.h" // lines 19-19 | |
- #include "swift/SIL/SILModule.h" // lines 21-21 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenDiffFunc.cpp: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "GenRecord.h" // for RecordField, RecordTyp... | |
#include "GenType.h" // for TypeConverter | |
#include "IRGen.h" // for Size, operator+, Align... | |
#include "IRGenModule.h" // for IRGenModule | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "StructLayout.h" // for StructLayout, LayoutKind | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "string" // for operator+, basic_string | |
#include "swift/AST/AutoDiff.h" // for NormalDifferentiableFu... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Type.h" // for LookUpConformanceInModule | |
#include "swift/AST/Types.h" // for SILFunctionType, CanTy... | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for cast | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
namespace clang { namespace CodeGen { namespace swiftcall { class SwiftAggLowering; } } } | |
namespace llvm { class Type; } | |
namespace swift { class IndexSubset; } | |
namespace swift { namespace irgen { class Explosion; } } | |
namespace swift { namespace irgen { class IRGenFunction; } } | |
namespace swift { namespace irgen { class TypeInfo; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDiffWitness.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "IRGen.h" // for irgen | |
#include "llvm/IR/DerivedTypes.h" // for PointerType | |
#include "llvm/IR/Function.h" // for Function | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILLinkage.h" // for SILLinkage, SILLi... | |
/Users/varun/foss-swift/swift/lib/IRGen/GenDiffWitness.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenDiffWitness.cpp: | |
#include <assert.h> // for assert | |
#include "ConstantBuilder.h" // for ConstantStructBui... | |
#include "IRGen.h" // for irgen | |
#include "IRGenModule.h" // for IRGenModule, IRGe... | |
#include "llvm/IR/DerivedTypes.h" // for PointerType | |
#include "llvm/IR/Function.h" // for Function | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceD... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/SIL/SILDeclRef.h" // for NotForDefinition | |
#include "swift/SIL/SILDifferentiabilityWitness.h" // for SILDifferentiabil... | |
#include "swift/SIL/SILLinkage.h" // for SILLinkage, SILLi... | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenExistential.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
namespace swift { class CanType; } | |
namespace swift { class GenericEnvironment; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenExistential.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 22-22 | |
- namespace swift { namespace irgen { class Address; } } // lines 34-34 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenExistential.h: | |
#include "Address.h" // for Address, ContainedAddress, Own... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "swift/AST/Types.h" // for CanArchetypeType | |
#include "swift/SIL/SILInstruction.h" // for OpenedExistentialAccess | |
namespace llvm { class Value; } // lines 26-26 | |
namespace swift { class CanType; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { class ProtocolConformanceRef; } // lines 30-30 | |
namespace swift { class SILType; } // lines 31-31 | |
namespace swift { namespace irgen { class Explosion; } } // lines 35-35 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenExistential.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <new> // for operator new | |
#include "ExtraInhabitants.h" // for getHeapObjectExtraInha... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, operator*, Atomi... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo, Load... | |
#include "ReferenceTypeInfo.h" // for ReferenceTypeInfo | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantP... | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/Attr.h" // for UnsafeNoObjCTaggedPoin... | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, cast, isa, Type | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/AbstractionPattern.h" // for AbstractionPattern | |
#include "swift/SIL/Consumption.h" // for IsInitialization, IsNo... | |
#include "swift/SIL/SILInstruction.h" // for LoadableUnownedClassEx... | |
#include "swift/SIL/SILType.h" // for SILType, ExistentialRe... | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_reference... | |
#include "utility" // for pair | |
namespace clang { namespace CodeGen { namespace swiftcall { class SwiftAggLowering; } } } | |
namespace llvm { class BasicBlock; } | |
namespace llvm { class Constant; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { namespace irgen { template <class Derived, class Base> class ScalarTypeInfo; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenExistential.cpp should remove these lines: | |
- #include "GenClass.h" // lines 37-37 | |
- #include "GenPoly.h" // lines 41-41 | |
- #include "IRGenDebugInfo.h" // lines 46-46 | |
- #include "NonFixedTypeInfo.h" // lines 50-50 | |
- #include "ProtocolInfo.h" // lines 52-52 | |
- #include "llvm/IR/Module.h" // lines 30-30 | |
- #include "swift/AST/ASTContext.h" // lines 19-19 | |
- #include "swift/AST/ProtocolConformance.h" // lines 22-22 | |
- #include "swift/IRGen/Linking.h" // lines 24-24 | |
- #include "swift/SIL/SILValue.h" // lines 25-25 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenExistential.cpp: | |
#include "GenExistential.h" | |
#include <assert.h> // for assert | |
#include <new> // for operator new | |
#include "BitPatternBuilder.h" // for BitPatternBuilder, Bit... | |
#include "EnumPayload.h" // for EnumPayload | |
#include "Explosion.h" // for Explosion, ExplosionSc... | |
#include "ExtraInhabitants.h" // for getHeapObjectExtraInha... | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenHeap.h" // for emitDynamicTypeOfHeapO... | |
#include "GenMeta.h" // for emitMetatypeInstanceType | |
#include "GenOpaque.h" // for emitLoadOfIsInline | |
#include "GenProto.h" // for emitWitnessTableRef | |
#include "GenType.h" // for TypeConverter | |
#include "HeapTypeInfo.h" // for HeapTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, operator*, Atomi... | |
#include "IRGenFunction.h" // for IRGenFunction, Conditi... | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "IndirectTypeInfo.h" // for IndirectTypeInfo | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo, Load... | |
#include "MetadataRequest.h" // for emitObjCMetadataRefFor... | |
#include "Outlining.h" // for OutliningMetadataColle... | |
#include "ReferenceTypeInfo.h" // for ReferenceTypeInfo | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo, FixedPacking | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantP... | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, StructType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TrailingObjects.h" // for TrailingObjects | |
#include "llvm/Support/raw_ostream.h" // for operator<<, raw_svecto... | |
#include "memory" // for uninitialized_copy | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/Attr.h" // for UnsafeNoObjCTaggedPoin... | |
#include "swift/AST/Decl.h" // for ProtocolDecl | |
#include "swift/AST/ExistentialLayout.h" // for ExistentialLayout, Exi... | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/ReferenceStorage.def" // lines 798-798 | |
#include "swift/AST/ReferenceStorage.def" // lines 1271-1271 | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, cast, isa, Type | |
#include "swift/AST/Types.h" // for ExistentialMetatypeType | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast | |
#include "swift/Basic/Range.h" // for range, IntRange | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/AbstractionPattern.h" // for AbstractionPattern | |
#include "swift/SIL/Consumption.h" // for IsInitialization, IsNo... | |
#include "swift/SIL/SILInstruction.h" // for LoadableUnownedClassEx... | |
#include "swift/SIL/SILType.h" // for SILType, ExistentialRe... | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for move, remove_reference... | |
#include "utility" // for pair | |
namespace clang { namespace CodeGen { namespace swiftcall { class SwiftAggLowering; } } } | |
namespace llvm { class BasicBlock; } | |
namespace llvm { class Constant; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { namespace irgen { template <class Derived, class Base> class ScalarTypeInfo; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenFunc.h should add these lines: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
namespace llvm { class Constant; } | |
namespace swift { class SILFunction; } | |
namespace swift { class SubstitutionMap; } | |
namespace swift { namespace irgen { class FunctionPointer; } } | |
namespace swift { namespace irgen { class StackAddress; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenFunc.h should remove these lines: | |
- namespace llvm { class Function; } // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenFunc.h: | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/AST/Types.h" // for CanSILFunctionType, CanSILBlockStorag... | |
namespace llvm { class Constant; } | |
namespace llvm { class Value; } // lines 25-25 | |
namespace swift { class SILFunction; } | |
namespace swift { class SubstitutionMap; } | |
namespace swift { namespace irgen { class Address; } } // lines 30-30 | |
namespace swift { namespace irgen { class Explosion; } } // lines 31-31 | |
namespace swift { namespace irgen { class ForeignFunctionInfo; } } // lines 32-32 | |
namespace swift { namespace irgen { class FunctionPointer; } } | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 33-33 | |
namespace swift { namespace irgen { class StackAddress; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenFunc.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint32_t | |
#include "Address.h" // for Address, StackAddress | |
#include "ExtraInhabitants.h" // for getFunctionPointerExtr... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Atomicity, Size, Align... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "NativeConventionSchema.h" // for NativeConventionSchema | |
#include "NecessaryBindings.h" // for NecessaryBindings | |
#include "ScalarTypeInfo.h" // for PODSingleScalarTypeInfo | |
#include "StructLayout.h" // for ElementLayout, LayoutS... | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "algorithm" // for max | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "clang/CodeGen/CGFunctionInfo.h" // for ABIArgInfo, CGFunction... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/Attributes.h" // for AttributeList, AttrBui... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/DataLayout.h" // for DataLayout, StructLayout | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::InternalL... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/AutoDiff.h" // for DifferentiabilityKind | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunctionConventions.h" // for SILFunctionConventions | |
#include "swift/SIL/SILType.h" // for SILType, SILBlockStora... | |
#include "type_traits" // for move | |
namespace swift { class SILFunction; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenFunc.cpp should remove these lines: | |
- #include "EnumPayload.h" // lines 94-94 | |
- #include "GenClass.h" // lines 98-98 | |
- #include "GenMeta.h" // lines 101-101 | |
- #include "clang/CodeGen/CodeGenABITypes.h" // lines 82-82 | |
- #include "llvm/ADT/StringSwitch.h" // lines 89-89 | |
- #include "llvm/ProfileData/InstrProf.h" // lines 87-87 | |
- #include "llvm/Support/Debug.h" // lines 88-88 | |
- #include "swift/AST/ASTWalker.h" // lines 71-71 | |
- #include "swift/AST/Builtins.h" // lines 72-72 | |
- #include "swift/AST/Decl.h" // lines 73-73 | |
- #include "swift/AST/Module.h" // lines 75-75 | |
- #include "swift/AST/Pattern.h" // lines 76-76 | |
- #include "swift/AST/PrettyStackTrace.h" // lines 77-77 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenFunc.cpp: | |
#include "GenFunc.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint32_t | |
#include "Address.h" // for Address, StackAddress | |
#include "BitPatternBuilder.h" // for BitPatternBuilder, Bit... | |
#include "Callee.h" // for FunctionPointer, Point... | |
#include "ConstantBuilder.h" // for ConstantStructBuilder | |
#include "Explosion.h" // for Explosion, ExplosionSc... | |
#include "ExtraInhabitants.h" // for getFunctionPointerExtr... | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenCall.h" // for addNativeArgument, has... | |
#include "GenHeap.h" // for HeapLayout, HeapNonFix... | |
#include "GenObjC.h" // for getBlockTypeExtendedEn... | |
#include "GenPointerAuth.h" // for emitPointerAuthSign | |
#include "GenPoly.h" // for hasPolymorphicParameters | |
#include "GenProto.h" // for bindPolymorphicParameter | |
#include "GenType.h" // for TypeConverter, Generic... | |
#include "HeapTypeInfo.h" // for HeapTypeInfo, Referenc... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Atomicity, Size, Align... | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenMangler.h" // for IRGenMangler | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "IndirectTypeInfo.h" // for IndirectTypeInfo | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "NativeConventionSchema.h" // for NativeConventionSchema | |
#include "NecessaryBindings.h" // for NecessaryBindings | |
#include "ScalarPairTypeInfo.h" // for ScalarPairTypeInfo | |
#include "ScalarTypeInfo.h" // for PODSingleScalarTypeInfo | |
#include "Signature.h" // for Signature, ForeignFunc... | |
#include "StructLayout.h" // for ElementLayout, LayoutS... | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "algorithm" // for max | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "clang/CodeGen/CGFunctionInfo.h" // for ABIArgInfo, CGFunction... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/Attributes.h" // for AttributeList, AttrBui... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, UndefValue | |
#include "llvm/IR/DataLayout.h" // for DataLayout, StructLayout | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, FunctionType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::InternalL... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/AutoDiff.h" // for DifferentiabilityKind | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/IRGenOptions.h" // for PointerAuthOptions | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/ReferenceStorage.def" // lines 217-217 | |
#include "swift/AST/ReferenceStorage.def" // lines 335-335 | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for CanType | |
#include "swift/AST/Types.h" // for SILFunctionType, Param... | |
#include "swift/Basic/LLVM.h" // for cast, dyn_cast, isa | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/IRGen/Linking.h" // for ApplyIRLinkage, IRLinkage | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunctionConventions.h" // for SILFunctionConventions | |
#include "swift/SIL/SILType.h" // for SILType, SILBlockStora... | |
#include "type_traits" // for move | |
namespace swift { class SILFunction; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenHeap.h should add these lines: | |
#include <assert.h> // for assert | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTemplateCo... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Value.h" // for Value | |
#include "swift/AST/Types.h" // for CanSILBoxType, MetatypeRepresentation | |
#include "swift/SIL/SILType.h" // for SILType | |
namespace llvm { class StructType; } | |
namespace swift { class CanType; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { namespace irgen { class IRGenFunction; } } | |
namespace swift { namespace irgen { class IRGenModule; } } | |
namespace swift { namespace irgen { class TypeInfo; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenHeap.h should remove these lines: | |
- namespace llvm { template <class T> class SmallVectorImpl; } // lines 26-26 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenHeap.h: | |
#include <assert.h> // for assert | |
#include "NecessaryBindings.h" // for NecessaryBindings | |
#include "StructLayout.h" // for LayoutStrategy, NonFixedOffsetsImpl | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVectorTemplateCo... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Value.h" // for Value | |
#include "swift/AST/Types.h" // for CanSILBoxType, MetatypeRepresentation | |
#include "swift/SIL/SILType.h" // for SILType | |
namespace llvm { class Constant; } // lines 25-25 | |
namespace llvm { class StructType; } | |
namespace swift { class CanType; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { namespace irgen { class Address; } } // lines 31-31 | |
namespace swift { namespace irgen { class IRGenFunction; } } | |
namespace swift { namespace irgen { class IRGenModule; } } | |
namespace swift { namespace irgen { class OwnedAddress; } } // lines 32-32 | |
namespace swift { namespace irgen { class TypeInfo; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenHeap.cpp should add these lines: | |
#include <stdint.h> // for uint32_t | |
#include "Address.h" // for Address, OwnedAddress | |
#include "ExtraInhabitants.h" // for getHeapObjectExtraInhab... | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Atomicity, Alignment | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "ScalarTypeInfo.h" // for PODSingleScalarTypeInfo | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "iterator" // for next | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/ilist_iterator.h" // for ilist_iterator | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for Attribute, Attribute::R... | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock, BasicBlock:... | |
#include "llvm/IR/CallingConv.h" // for C | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantExpr | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::PrivateLin... | |
#include "llvm/IR/IRBuilder.h" // for IRBuilderBase, IRBuilde... | |
#include "llvm/IR/Instruction.h" // for Instruction | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst, Ret... | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/Decl.h" // for AncestryFlags, Ancestry... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Refe... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILLayout.h" // for SILLayout | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILLocation.h" // for SILLocation::DebugLoc | |
#include "type_traits" // for move, enable_if<>::type | |
#include "utility" // for pair | |
namespace { class NativeUnownedReferenceTypeInfo; } | |
namespace { class NativeWeakReferenceTypeInfo; } | |
namespace { class UnknownUnownedReferenceTypeInfo; } | |
namespace { class UnknownWeakReferenceTypeInfo; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenHeap.cpp should remove these lines: | |
- #include "GenProto.h" // lines 37-37 | |
- #include "llvm/IR/Intrinsics.h" // lines 24-24 | |
- #include "llvm/Support/Path.h" // lines 20-20 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenHeap.cpp: | |
#include "GenHeap.h" | |
#include <stdint.h> // for uint32_t | |
#include "Address.h" // for Address, OwnedAddress | |
#include "ConstantBuilder.h" // for ConstantStructBuilder | |
#include "Explosion.h" // for Explosion | |
#include "ExtraInhabitants.h" // for getHeapObjectExtraInhab... | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenClass.h" // for hasKnownSwiftMetadata | |
#include "GenPointerAuth.h" // for PointerAuthEntity, Poin... | |
#include "GenType.h" // for TypeConverter | |
#include "HeapTypeInfo.h" // for UnmanagedReferenceTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Atomicity, Alignment | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction, IRGenFun... | |
#include "IRGenModule.h" // for IRGenModule, IRGenModul... | |
#include "IndirectTypeInfo.h" // for IndirectTypeInfo | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "MetadataRequest.h" // for emitObjCMetadataRefForM... | |
#include "ScalarTypeInfo.h" // for PODSingleScalarTypeInfo | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry | |
#include "iterator" // for next | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/ilist_iterator.h" // for ilist_iterator | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for Attribute, Attribute::R... | |
#include "llvm/IR/BasicBlock.h" // for BasicBlock, BasicBlock:... | |
#include "llvm/IR/CallingConv.h" // for C | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantExpr | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, FunctionType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::PrivateLin... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/IRBuilder.h" // for IRBuilderBase, IRBuilde... | |
#include "llvm/IR/Instruction.h" // for Instruction | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst, Ret... | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/Compiler.h" // for LLVM_FALLTHROUGH | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataKind, MetadataK... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Availability.h" // for AvailabilityContext | |
#include "swift/AST/Decl.h" // for AncestryFlags, Ancestry... | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions, PointerAu... | |
#include "swift/AST/Ownership.h" // for ReferenceOwnership | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Refe... | |
#include "swift/AST/ReferenceStorage.def" // lines 245-245 | |
#include "swift/AST/ReferenceStorage.def" // lines 579-579 | |
#include "swift/AST/ReferenceStorage.def" // lines 608-608 | |
#include "swift/AST/ReferenceStorage.def" // lines 637-637 | |
#include "swift/AST/ReferenceStorage.def" // lines 694-694 | |
#include "swift/AST/ReferenceStorage.def" // lines 730-730 | |
#include "swift/AST/ReferenceStorage.def" // lines 807-807 | |
#include "swift/AST/ReferenceStorage.def" // lines 1102-1102 | |
#include "swift/AST/ReferenceStorage.def" // lines 1204-1204 | |
#include "swift/AST/ReferenceStorage.def" // lines 1726-1726 | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SILLayout.h" // for SILLayout | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/Basic/SourceLoc.h" // for SourceLoc | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILLocation.h" // for SILLocation::DebugLoc | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "type_traits" // for move, enable_if<>::type | |
#include "utility" // for pair | |
namespace { class NativeUnownedReferenceTypeInfo; } | |
namespace { class NativeWeakReferenceTypeInfo; } | |
namespace { class UnknownUnownedReferenceTypeInfo; } | |
namespace { class UnknownWeakReferenceTypeInfo; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenInit.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for StackAddress, Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Alignment, Size | |
#include "TypeInfo.h" // for TypeInfo | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType | |
#include "memory" // for unique_ptr | |
#include "swift/AST/Decl.h" // for VarDecl | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion, Resi... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/SIL/SILLinkage.h" // for SILLinkage, SILLinkage::P... | |
#include "swift/SIL/SILLocation.h" // for SILLocation | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
#include "vector" // for vector | |
/Users/varun/foss-swift/swift/lib/IRGen/GenInit.cpp should remove these lines: | |
- #include "GenTuple.h" // lines 27-27 | |
- #include "llvm/IR/GlobalVariable.h" // lines 23-23 | |
- #include "llvm/IR/Module.h" // lines 24-24 | |
- #include "swift/AST/Pattern.h" // lines 19-19 | |
- #include "swift/IRGen/Linking.h" // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenInit.cpp: | |
#include <assert.h> // for assert | |
#include "Address.h" // for StackAddress, Address | |
#include "DebugTypeInfo.h" // for DebugTypeInfo | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Alignment, Size | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo, IRGenDebu... | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule | |
#include "Temporary.h" // for Temporary, TemporarySet | |
#include "TypeInfo.h" // for TypeInfo | |
#include "llvm/ADT/STLExtras.h" // for reverse | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/ADT/iterator_range.h" // for iterator_range | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType | |
#include "memory" // for unique_ptr | |
#include "swift/AST/Decl.h" // for VarDecl | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion, Resi... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition, NotForDefi... | |
#include "swift/SIL/SILGlobalVariable.h" // for SILGlobalVariable | |
#include "swift/SIL/SILLinkage.h" // for SILLinkage, SILLinkage::P... | |
#include "swift/SIL/SILLocation.h" // for SILLocation | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
#include "vector" // for vector | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenIntegerLiteral.h should add these lines: | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
/Users/varun/foss-swift/swift/lib/IRGen/GenIntegerLiteral.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenIntegerLiteral.h: | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "swift/Basic/APIntMap.h" // for WidthPreservingAPIntDenseMapInfo | |
namespace llvm { class Constant; } // lines 24-24 | |
namespace llvm { class IntegerType; } // lines 25-25 | |
namespace llvm { class Type; } // lines 26-26 | |
namespace llvm { class Value; } // lines 27-27 | |
namespace swift { class IntegerLiteralInst; } // lines 31-31 | |
namespace swift { namespace irgen { class Explosion; } } // lines 34-34 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 35-35 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenIntegerLiteral.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Atomicity, Size, SpareBitVector | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry, TypeL... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType, ArrayType, Stru... | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::PrivateLinkage | |
#include "llvm/IR/Instructions.h" // for PHINode, CallInst, LoadInst | |
#include "llvm/IR/Type.h" // for Type, Type::DoubleTyID, Type... | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/SIL/SILInstruction.h" // for IntegerLiteralInst | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
/Users/varun/foss-swift/swift/lib/IRGen/GenIntegerLiteral.cpp should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenIntegerLiteral.cpp: | |
#include "GenIntegerLiteral.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address | |
#include "BitPatternBuilder.h" // for BitPatternBuilder, BitPatter... | |
#include "Explosion.h" // for Explosion | |
#include "ExtraInhabitants.h" // for getHeapObjectExtraInhabitant... | |
#include "GenType.h" // for TypeConverter | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Atomicity, Size, SpareBitVector | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule::(a... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "ScalarPairTypeInfo.h" // for ScalarPairTypeInfo | |
#include "TypeLayout.h" // for ScalarTypeLayoutEntry, TypeL... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantArray | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType, ArrayType, Stru... | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::PrivateLinkage | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for PHINode, CallInst, LoadInst | |
#include "llvm/IR/Type.h" // for Type, Type::DoubleTyID, Type... | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for IntegerLiteralFlags, Integer... | |
#include "swift/Basic/LLVM.h" // for swift | |
#include "swift/Basic/OptionSet.h" // for None | |
#include "swift/SIL/SILInstruction.h" // for IntegerLiteralInst | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenKeyPath.cpp should add these lines: | |
#include <assert.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/KeyPath.h" | |
#include "Address.h" | |
#include "IRBuilder.h" | |
#include "IRGen.h" | |
#include "WitnessIndex.h" | |
#include "algorithm" | |
#include "llvm/ADT/APInt.h" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/Optional.h" | |
#include "llvm/ADT/SmallString.h" | |
#include "llvm/ADT/SmallVector.h" | |
#include "llvm/ADT/Statistic.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/ADT/Twine.h" | |
#include "llvm/IR/Attributes.h" | |
#include "llvm/IR/Constant.h" | |
#include "llvm/IR/Constants.h" | |
#include "llvm/IR/DerivedTypes.h" | |
#include "llvm/IR/GlobalAlias.h" | |
#include "llvm/IR/GlobalValue.h" | |
#include "llvm/IR/GlobalVariable.h" | |
#include "llvm/IR/Instructions.h" | |
#include "llvm/IR/Type.h" | |
#include "llvm/Support/Alignment.h" | |
#include "llvm/Support/Casting.h" | |
#include "llvm/Support/ErrorHandling.h" | |
#include "memory" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/AST/DeclContext.h" | |
#include "swift/AST/GenericSignature.h" | |
#include "swift/AST/IRGenOptions.h" | |
#include "swift/AST/ResilienceExpansion.h" | |
#include "swift/AST/SubstitutionMap.h" | |
#include "swift/AST/Type.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/Range.h" | |
#include "swift/Reflection/MetadataSource.h" | |
#include "swift/SIL/AbstractionPattern.h" | |
#include "swift/SIL/SILDeclRef.h" | |
#include "swift/SIL/SILFunction.h" | |
#include "swift/SIL/SILLinkage.h" | |
#include "swift/SIL/SILProperty.h" | |
#include "swift/SIL/SILType.h" | |
#include "type_traits" | |
#include "utility" | |
namespace llvm { class Value; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenKeyPath.cpp should remove these lines: | |
- #include "GenDecl.h" // lines 23-23 | |
- #include "GenMeta.h" // lines 24-24 | |
- #include "IRGenMangler.h" // lines 33-33 | |
- #include "StructLayout.h" // lines 37-37 | |
- #include "llvm/ADT/SetVector.h" // lines 39-39 | |
- #include "swift/ABI/HeapObject.h" // lines 46-46 | |
- #include "swift/AST/ASTContext.h" // lines 47-47 | |
- #include "swift/AST/DiagnosticEngine.h" // lines 49-49 | |
- #include "swift/AST/DiagnosticsIRGen.h" // lines 50-50 | |
- #include "swift/Basic/Statistic.h" // lines 54-54 | |
- #include "swift/SIL/TypeLowering.h" // lines 44-44 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenKeyPath.cpp: | |
#include <assert.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/KeyPath.h" | |
#include "Address.h" | |
#include "Callee.h" | |
#include "ClassLayout.h" | |
#include "ConstantBuilder.h" | |
#include "Explosion.h" | |
#include "GenClass.h" | |
#include "GenPointerAuth.h" | |
#include "GenProto.h" | |
#include "GenStruct.h" | |
#include "GenTuple.h" | |
#include "GenType.h" | |
#include "GenericRequirement.h" | |
#include "IRBuilder.h" | |
#include "IRGen.h" | |
#include "IRGenDebugInfo.h" | |
#include "IRGenFunction.h" | |
#include "IRGenModule.h" | |
#include "MetadataLayout.h" | |
#include "ProtocolInfo.h" | |
#include "TypeInfo.h" | |
#include "WitnessIndex.h" | |
#include "algorithm" | |
#include "llvm/ADT/APInt.h" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/Optional.h" | |
#include "llvm/ADT/SmallString.h" | |
#include "llvm/ADT/SmallVector.h" | |
#include "llvm/ADT/Statistic.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/ADT/Twine.h" | |
#include "llvm/IR/Attributes.h" | |
#include "llvm/IR/Constant.h" | |
#include "llvm/IR/Constants.h" | |
#include "llvm/IR/DerivedTypes.h" | |
#include "llvm/IR/Function.h" | |
#include "llvm/IR/GlobalAlias.h" | |
#include "llvm/IR/GlobalValue.h" | |
#include "llvm/IR/GlobalVariable.h" | |
#include "llvm/IR/Instructions.h" | |
#include "llvm/IR/Module.h" | |
#include "llvm/IR/Type.h" | |
#include "llvm/Support/Alignment.h" | |
#include "llvm/Support/Casting.h" | |
#include "llvm/Support/ErrorHandling.h" | |
#include "memory" | |
#include "swift/ABI/KeyPath.h" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/AST/Decl.h" | |
#include "swift/AST/DeclContext.h" | |
#include "swift/AST/GenericEnvironment.h" | |
#include "swift/AST/GenericSignature.h" | |
#include "swift/AST/IRGenOptions.h" | |
#include "swift/AST/ParameterList.h" | |
#include "swift/AST/ResilienceExpansion.h" | |
#include "swift/AST/SubstitutionMap.h" | |
#include "swift/AST/Type.h" | |
#include "swift/AST/Types.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/Range.h" | |
#include "swift/IRGen/Linking.h" | |
#include "swift/Reflection/MetadataSource.h" | |
#include "swift/SIL/AbstractionPattern.h" | |
#include "swift/SIL/SILDeclRef.h" | |
#include "swift/SIL/SILFunction.h" | |
#include "swift/SIL/SILInstruction.h" | |
#include "swift/SIL/SILLinkage.h" | |
#include "swift/SIL/SILLocation.h" | |
#include "swift/SIL/SILProperty.h" | |
#include "swift/SIL/SILType.h" | |
#include "type_traits" | |
#include "utility" | |
namespace llvm { class Value; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenMeta.h should add these lines: | |
#include <stdint.h> // for int32_t, uint8_t | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
namespace swift { class ArchetypeType; } | |
namespace swift { class CanType; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class EnumDecl; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class Requirement; } | |
namespace swift { class StructDecl; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenMeta.h should remove these lines: | |
- #include <utility> // lines 20-20 | |
- namespace llvm { class GlobalVariable; } // lines 26-26 | |
- namespace swift { class AbstractFunctionDecl; } // lines 31-31 | |
- namespace swift { class FileUnit; } // lines 32-32 | |
- namespace swift { class FuncDecl; } // lines 33-33 | |
- namespace swift { class SILType; } // lines 35-35 | |
- namespace swift { class VarDecl; } // lines 36-36 | |
- namespace swift { namespace irgen { class StructLayout; } } // lines 47-47 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenMeta.h: | |
#include <stdint.h> // for int32_t, uint8_t | |
#include "swift/AST/GenericSignature.h" // for GenericSignature | |
namespace llvm { class Constant; } // lines 24-24 | |
namespace llvm { class Function; } // lines 25-25 | |
namespace llvm { class Value; } // lines 27-27 | |
namespace llvm { template <class T> class ArrayRef; } // lines 23-23 | |
namespace swift { class ArchetypeType; } | |
namespace swift { class CanType; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class EnumDecl; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class Requirement; } | |
namespace swift { class StructDecl; } | |
namespace swift { namespace irgen { class ClassLayout; } } // lines 48-48 | |
namespace swift { namespace irgen { class ConstantStructBuilder; } } // lines 40-40 | |
namespace swift { namespace irgen { class FieldTypeInfo; } } // lines 41-41 | |
namespace swift { namespace irgen { class GenericTypeRequirements; } } // lines 42-42 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 43-43 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 44-44 | |
namespace swift { namespace irgen { class Size; } } // lines 46-46 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenMeta.cpp should add these lines: | |
#include <assert.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/KeyPath.h" | |
#include "DebugTypeInfo.h" | |
#include "Explosion.h" | |
#include "GenEnum.h" | |
#include "GenProto.h" | |
#include "GenericRequirement.h" | |
#include "IRBuilder.h" | |
#include "IRGen.h" | |
#include "IRGenFunction.h" | |
#include "LocalTypeDataKind.h" | |
#include "MetadataVisitor.h" | |
#include "SwiftTargetInfo.h" | |
#include "TypeInfo.h" | |
#include "clang/Basic/PointerAuthOptions.h" | |
#include "clang/CodeGen/ConstantInitBuilder.h" | |
#include "iosfwd" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/None.h" | |
#include "llvm/ADT/Optional.h" | |
#include "llvm/ADT/PointerUnion.h" | |
#include "llvm/ADT/STLExtras.h" | |
#include "llvm/ADT/SmallVector.h" | |
#include "llvm/ADT/StringMap.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/ADT/Triple.h" | |
#include "llvm/ADT/Twine.h" | |
#include "llvm/ADT/iterator.h" | |
#include "llvm/IR/Attributes.h" | |
#include "llvm/IR/Constant.h" | |
#include "llvm/IR/Constants.h" | |
#include "llvm/IR/GlobalAlias.h" | |
#include "llvm/IR/GlobalValue.h" | |
#include "llvm/IR/Instructions.h" | |
#include "llvm/IR/Metadata.h" | |
#include "llvm/IR/Value.h" | |
#include "llvm/Support/Casting.h" | |
#include "llvm/Support/ErrorHandling.h" | |
#include "memory" | |
#include "string" | |
#include "swift/AST/AttrKind.h" | |
#include "swift/AST/DeclContext.h" | |
#include "swift/AST/Evaluator.h" | |
#include "swift/AST/Identifier.h" | |
#include "swift/AST/KnownProtocols.h" | |
#include "swift/AST/LayoutConstraint.h" | |
#include "swift/AST/Module.h" | |
#include "swift/AST/ProtocolAssociations.h" | |
#include "swift/AST/ProtocolConformance.h" | |
#include "swift/AST/ProtocolConformanceRef.h" | |
#include "swift/AST/ReferenceCounting.h" | |
#include "swift/AST/Requirement.h" | |
#include "swift/AST/ResilienceExpansion.h" | |
#include "swift/AST/StorageImpl.h" | |
#include "swift/AST/Type.h" | |
#include "swift/AST/TypeExpansionContext.h" | |
#include "swift/Basic/ArrayRefView.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/LangOptions.h" | |
#include "swift/Basic/OptionSet.h" | |
#include "swift/Basic/Sanitizers.h" | |
#include "swift/IRGen/ValueWitness.h" | |
#include "swift/Reflection/MetadataSource.h" | |
#include "swift/SIL/SILDeclRef.h" | |
#include "swift/SIL/SILDefaultWitnessTable.h" | |
#include "swift/SIL/SILLinkage.h" | |
#include "swift/SIL/SILType.h" | |
#include "swift/SIL/SILVTable.h" | |
#include "swift/SIL/SILVTableVisitor.h" | |
#include "swift/SIL/SILWitnessTable.h" | |
#include "type_traits" | |
#include "utility" | |
namespace clang { class ObjCCompatibleAliasDecl; } | |
namespace clang { class TypedefNameDecl; } | |
namespace llvm { class Type; } | |
namespace swift { class SILFunction; } | |
namespace swift { namespace irgen { template <class Impl> class EnumMetadataVisitor; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenMeta.cpp should remove these lines: | |
- #include "EnumMetadataVisitor.h" // lines 48-48 | |
- #include "GenPoly.h" // lines 55-55 | |
- #include "HeapTypeInfo.h" // lines 59-59 | |
- #include "ScalarTypeInfo.h" // lines 66-66 | |
- #include "clang/AST/Decl.h" // lines 35-35 | |
- #include "clang/AST/DeclObjC.h" // lines 36-36 | |
- #include "swift/AST/CanTypeVisitor.h" // lines 22-22 | |
- #include "swift/AST/GenericEnvironment.h" // lines 24-24 | |
- #include "swift/SIL/FormalLinkage.h" // lines 31-31 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenMeta.cpp: | |
#include "GenMeta.h" | |
#include <assert.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/KeyPath.h" | |
#include "Address.h" | |
#include "Callee.h" | |
#include "ClassLayout.h" | |
#include "ClassMetadataVisitor.h" | |
#include "ConstantBuilder.h" | |
#include "DebugTypeInfo.h" | |
#include "Explosion.h" | |
#include "FixedTypeInfo.h" | |
#include "ForeignClassMetadataVisitor.h" | |
#include "GenArchetype.h" | |
#include "GenClass.h" | |
#include "GenDecl.h" | |
#include "GenEnum.h" | |
#include "GenPointerAuth.h" | |
#include "GenProto.h" | |
#include "GenStruct.h" | |
#include "GenValueWitness.h" | |
#include "GenericArguments.h" | |
#include "GenericRequirement.h" | |
#include "IRBuilder.h" | |
#include "IRGen.h" | |
#include "IRGenDebugInfo.h" | |
#include "IRGenFunction.h" | |
#include "IRGenMangler.h" | |
#include "IRGenModule.h" | |
#include "LocalTypeDataKind.h" | |
#include "MetadataLayout.h" | |
#include "MetadataRequest.h" | |
#include "MetadataVisitor.h" | |
#include "ProtocolInfo.h" | |
#include "StructLayout.h" | |
#include "StructMetadataVisitor.h" | |
#include "SwiftTargetInfo.h" | |
#include "TypeInfo.h" | |
#include "clang/Basic/PointerAuthOptions.h" | |
#include "clang/CodeGen/ConstantInitBuilder.h" | |
#include "iosfwd" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/DenseMap.h" | |
#include "llvm/ADT/None.h" | |
#include "llvm/ADT/Optional.h" | |
#include "llvm/ADT/PointerUnion.h" | |
#include "llvm/ADT/STLExtras.h" | |
#include "llvm/ADT/SmallString.h" | |
#include "llvm/ADT/SmallVector.h" | |
#include "llvm/ADT/StringMap.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/ADT/Triple.h" | |
#include "llvm/ADT/Twine.h" | |
#include "llvm/ADT/iterator.h" | |
#include "llvm/IR/Attributes.h" | |
#include "llvm/IR/Constant.h" | |
#include "llvm/IR/Constants.h" | |
#include "llvm/IR/DerivedTypes.h" | |
#include "llvm/IR/Function.h" | |
#include "llvm/IR/GlobalAlias.h" | |
#include "llvm/IR/GlobalValue.h" | |
#include "llvm/IR/GlobalVariable.h" | |
#include "llvm/IR/Instructions.h" | |
#include "llvm/IR/Metadata.h" | |
#include "llvm/IR/Module.h" | |
#include "llvm/IR/Value.h" | |
#include "llvm/Support/Casting.h" | |
#include "llvm/Support/ErrorHandling.h" | |
#include "memory" | |
#include "string" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/ABI/TypeIdentity.h" | |
#include "swift/AST/ASTContext.h" | |
#include "swift/AST/ASTMangler.h" | |
#include "swift/AST/AccessorKinds.def" // lines 255-255 | |
#include "swift/AST/Attr.h" | |
#include "swift/AST/AttrKind.h" | |
#include "swift/AST/Decl.h" | |
#include "swift/AST/DeclContext.h" | |
#include "swift/AST/Evaluator.h" | |
#include "swift/AST/IRGenOptions.h" | |
#include "swift/AST/Identifier.h" | |
#include "swift/AST/KnownProtocols.h" | |
#include "swift/AST/LayoutConstraint.h" | |
#include "swift/AST/Module.h" | |
#include "swift/AST/PrettyStackTrace.h" | |
#include "swift/AST/ProtocolAssociations.h" | |
#include "swift/AST/ProtocolConformance.h" | |
#include "swift/AST/ProtocolConformanceRef.h" | |
#include "swift/AST/ReferenceCounting.h" | |
#include "swift/AST/Requirement.h" | |
#include "swift/AST/ResilienceExpansion.h" | |
#include "swift/AST/StorageImpl.h" | |
#include "swift/AST/SubstitutionMap.h" | |
#include "swift/AST/Type.h" | |
#include "swift/AST/TypeExpansionContext.h" | |
#include "swift/AST/Types.h" | |
#include "swift/Basic/ArrayRefView.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/LangOptions.h" | |
#include "swift/Basic/OptionSet.h" | |
#include "swift/Basic/Sanitizers.h" | |
#include "swift/ClangImporter/ClangModule.h" | |
#include "swift/IRGen/Linking.h" | |
#include "swift/IRGen/ValueWitness.h" | |
#include "swift/Reflection/MetadataSource.h" | |
#include "swift/SIL/SILDeclRef.h" | |
#include "swift/SIL/SILDefaultWitnessTable.h" | |
#include "swift/SIL/SILLinkage.h" | |
#include "swift/SIL/SILModule.h" | |
#include "swift/SIL/SILType.h" | |
#include "swift/SIL/SILVTable.h" | |
#include "swift/SIL/SILVTableVisitor.h" | |
#include "swift/SIL/SILWitnessTable.h" | |
#include "swift/SIL/TypeLowering.h" | |
#include "swift/Strings.h" | |
#include "type_traits" | |
#include "utility" | |
namespace clang { class ObjCCompatibleAliasDecl; } | |
namespace clang { class TypedefNameDecl; } | |
namespace llvm { class Type; } | |
namespace swift { class SILFunction; } | |
namespace swift { namespace irgen { template <class Impl> class EnumMetadataVisitor; } } | |
namespace { class ForeignClassMetadataBuilder; } // lines 4422-4422 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenObjC.h should add these lines: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
#include "swift/SIL/SILDeclRef.h" // for SILDeclRef | |
#include "swift/SIL/SILType.h" // for SILType, PointerLikeTypeTraits | |
namespace llvm { class Constant; } | |
namespace llvm { class Function; } | |
namespace swift { class AbstractFunctionDecl; } | |
namespace swift { class AbstractStorageDecl; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ConstructorDecl; } | |
namespace swift { class SubscriptDecl; } | |
namespace swift { class VarDecl; } | |
namespace swift { namespace irgen { class Explosion; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenObjC.h should remove these lines: | |
- namespace llvm { class Type; } // lines 22-22 | |
- namespace swift { class CanType; } // lines 27-27 | |
- namespace swift { class SILType; } // lines 31-31 | |
- namespace swift { struct SILDeclRef; } // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenObjC.h: | |
#include "iosfwd" // for string | |
#include "llvm/ADT/PointerIntPair.h" // for PointerIntPair | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
#include "swift/SIL/SILDeclRef.h" // for SILDeclRef | |
#include "swift/SIL/SILType.h" // for SILType, PointerLikeTypeTraits | |
namespace llvm { class Constant; } | |
namespace llvm { class Function; } | |
namespace llvm { class Value; } // lines 23-23 | |
namespace swift { class AbstractFunctionDecl; } | |
namespace swift { class AbstractStorageDecl; } | |
namespace swift { class ClassDecl; } | |
namespace swift { class ConstructorDecl; } | |
namespace swift { class FuncDecl; } // lines 28-28 | |
namespace swift { class SILFunction; } // lines 30-30 | |
namespace swift { class SubscriptDecl; } | |
namespace swift { class VarDecl; } | |
namespace swift { namespace irgen { class Callee; } } // lines 34-34 | |
namespace swift { namespace irgen { class CalleeInfo; } } // lines 35-35 | |
namespace swift { namespace irgen { class ConstantArrayBuilder; } } // lines 36-36 | |
namespace swift { namespace irgen { class Explosion; } } | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 37-37 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 38-38 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenObjC.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <memory> // for allocator | |
#include "Address.h" // for Address | |
#include "Callee.h" // for Callee, CalleeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Alignment, Size:... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "Signature.h" // for Signature, ForeignFunc... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/AST/CanonicalType.h" // for CanQual | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/DeclBase.h" // for Decl, Decl::OBJC_TQ_None | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator+= | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::x86_64 | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Attributes.h" // for AttributeList, AttrBui... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantPointerNull | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalVal... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for CallInst, CallInst::TC... | |
#include "llvm/IR/IntrinsicEnums.inc" // for objc_autorelease, objc... | |
#include "llvm/IR/Metadata.h" // for MDString | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, operator+ | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for ObjCSelector, Identifier | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for CanType, cast | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILFunctionConventions.h" // for SILParameterInfo::getS... | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "type_traits" // for move, conditional<>::type | |
/Users/varun/foss-swift/swift/lib/IRGen/GenObjC.cpp should remove these lines: | |
- #include "GenFunc.h" // lines 42-42 | |
- #include "GenProto.h" // lines 45-45 | |
- #include "ScalarTypeInfo.h" // lines 53-53 | |
- #include "clang/AST/Attr.h" // lines 34-34 | |
- #include "clang/Basic/CharInfo.h" // lines 24-24 | |
- #include "swift/ClangImporter/ClangImporter.h" // lines 30-30 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenObjC.cpp: | |
#include "GenObjC.h" | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <memory> // for allocator | |
#include "Address.h" // for Address | |
#include "CallEmission.h" // for CallEmission | |
#include "Callee.h" // for Callee, CalleeInfo | |
#include "ConstantBuilder.h" // for ConstantStructBuilder | |
#include "Explosion.h" // for Explosion | |
#include "GenCall.h" // for expandCallingConv | |
#include "GenClass.h" // for ClassMetadataStrategy | |
#include "GenHeap.h" // for HeapLayout, emitLoadOf... | |
#include "GenPointerAuth.h" // for PointerAuthEntity | |
#include "GenType.h" // for TypeConverter, Generic... | |
#include "HeapTypeInfo.h" // for HeapTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Alignment, Size:... | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "MetadataRequest.h" // for emitClassHeapMetadataRef | |
#include "NativeConventionSchema.h" // for NativeConventionSchema | |
#include "Signature.h" // for Signature, ForeignFunc... | |
#include "StructLayout.h" // for ElementLayout, NonFixe... | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/CanonicalType.h" // for CanQual | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/DeclBase.h" // for Decl, Decl::OBJC_TQ_None | |
#include "clang/AST/DeclObjC.h" // for ObjCMethodDecl, ObjCPr... | |
#include "clang/AST/DeclarationName.h" // for CanQualType | |
#include "clang/CodeGen/CGFunctionInfo.h" // for ABIArgInfo, CGFunction... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringExtras.h" // for itostr | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef, operator+= | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::x86_64 | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Attributes.h" // for AttributeList, AttrBui... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantPointerNull | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, FunctionType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalVal... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/InlineAsm.h" // for InlineAsm | |
#include "llvm/IR/Instructions.h" // for CallInst, CallInst::TC... | |
#include "llvm/IR/IntrinsicEnums.inc" // for objc_autorelease, objc... | |
#include "llvm/IR/Metadata.h" // for MDString | |
#include "llvm/IR/Module.h" // for Module, Module::Global... | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for cast, dyn_cast, isa | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "string" // for basic_string, operator+ | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Metadat... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for ConstructorDecl, FuncDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions, PointerA... | |
#include "swift/AST/Identifier.h" // for ObjCSelector, Identifier | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Ref... | |
#include "swift/AST/StorageImpl.h" // for AccessorKind | |
#include "swift/AST/Type.h" // for CanType, cast | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Demangling/ManglingMacros.h" // for MANGLE_AS_STRING, OBJC... | |
#include "swift/IRGen/Linking.h" // for ApplyIRLinkage, IRLinkage | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILFunctionConventions.h" // for SILParameterInfo::getS... | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "type_traits" // for move, conditional<>::type | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenOpaque.h should add these lines: | |
#include "IRGen.h" // for Alignment, Size | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "utility" // for pair | |
namespace llvm { class Constant; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenOpaque.h should remove these lines: | |
- namespace llvm { class Type; } // lines 22-22 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenOpaque.h: | |
#include "IRGen.h" // for Alignment, Size | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "utility" // for pair | |
namespace llvm { class Constant; } | |
namespace llvm { class Value; } // lines 23-23 | |
namespace swift { namespace irgen { class Address; } } // lines 28-28 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 29-29 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 30-30 | |
namespace swift { namespace irgen { class TypeInfo; } } // lines 31-31 | |
namespace swift { namespace irgen { class WitnessIndex; } } // lines 33-33 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenOpaque.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address, StackAddress | |
#include "DominancePoint.h" // for DominancePoint | |
#include "IRBuilder.h" // for IRBuilder, IRBuilder::IR... | |
#include "LocalTypeDataKind.h" // for LocalTypeDataKind | |
#include "Signature.h" // for Signature | |
#include "TypeInfo.h" // for TypeInfo, FixedPacking | |
#include "WitnessIndex.h" // for WitnessIndex | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/ilist_iterator.h" // for ilist_iterator | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList, Attribute | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DataLayout.h" // for DataLayout | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::PrivateLinkage | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst, PHINode | |
#include "llvm/IR/IntrinsicEnums.inc" // for coro_alloca_alloc, coro_... | |
#include "llvm/IR/Intrinsics.h" // for getDeclaration | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, swift | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference<>::type | |
/Users/varun/foss-swift/swift/lib/IRGen/GenOpaque.cpp should remove these lines: | |
- #include "GenPointerAuth.h" // lines 34-34 | |
- #include "ProtocolInfo.h" // lines 37-37 | |
- #include "llvm/Support/raw_ostream.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenOpaque.cpp: | |
#include "GenOpaque.h" | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address, StackAddress | |
#include "Callee.h" // for FunctionPointer, Pointer... | |
#include "DominancePoint.h" // for DominancePoint | |
#include "Explosion.h" // for Explosion | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "IRBuilder.h" // for IRBuilder, IRBuilder::IR... | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule... | |
#include "LocalTypeDataKind.h" // for LocalTypeDataKind | |
#include "Signature.h" // for Signature | |
#include "TypeInfo.h" // for TypeInfo, FixedPacking | |
#include "WitnessIndex.h" // for WitnessIndex | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/ADT/ilist_iterator.h" // for ilist_iterator | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList, Attribute | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DataLayout.h" // for DataLayout | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, FunctionType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::PrivateLinkage | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst, PHINode | |
#include "llvm/IR/IntrinsicEnums.inc" // for coro_alloca_alloc, coro_... | |
#include "llvm/IR/Intrinsics.h" // for getDeclaration | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize | |
#include "swift/ABI/MetadataValues.h" // for ValueWitnessFlags, Metad... | |
#include "swift/ABI/ValueWitness.def" // lines 276-276 | |
#include "swift/ABI/ValueWitness.def" // lines 283-283 | |
#include "swift/AST/IRGenOptions.h" // for PointerAuthSchema, IRGen... | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, swift | |
#include "swift/IRGen/ValueWitness.h" // for ValueWitness, isValueWit... | |
#include "swift/SIL/TypeLowering.h" // for TypeLowering | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference<>::type | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPointerAuth.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint16_t | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "utility" // for pair | |
namespace swift { class SILFunction; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPointerAuth.h should remove these lines: | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenPointerAuth.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint16_t | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/IRGenOptions.h" // for PointerAuthSchema | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConformance | |
#include "swift/AST/Types.h" // for CanSILFunctionType, CanT... | |
#include "swift/Basic/ExternalUnion.h" // for ExternalUnion, ExternalU... | |
#include "swift/IRGen/ValueWitness.h" // for ValueWitness, isValueWit... | |
#include "swift/SIL/SILDeclRef.h" // for SILDeclRef | |
#include "utility" // for pair | |
namespace clang { class PointerAuthSchema; } // lines 34-34 | |
namespace llvm { class ConstantInt; } // lines 29-29 | |
namespace llvm { class Value; } // lines 30-30 | |
namespace swift { class SILFunction; } | |
namespace swift { namespace irgen { class FunctionPointer; } } // lines 39-39 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 40-40 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 41-41 | |
namespace swift { namespace irgen { class PointerAuthInfo; } } // lines 42-42 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPointerAuth.cpp should add these lines: | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema, Point... | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/Instructions.h" // for CallInst | |
#include "llvm/IR/IntrinsicEnums.inc" // for ptrauth_auth, ptrauth_blend | |
#include "llvm/IR/Intrinsics.h" // for getDeclaration | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "new" // for operator delete, operato... | |
#include "string" // for basic_string | |
#include "swift/ABI/MetadataValues.h" // for AssignWithCopy, AssignWi... | |
#include "swift/AST/ASTMangler.h" // for ASTMangler | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature, Gen... | |
#include "swift/AST/Type.h" // for CanType, Type, DenseMapInfo | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPointerAuth.cpp should remove these lines: | |
- #include "GenType.h" // lines 20-20 | |
- #include "llvm/ADT/APInt.h" // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenPointerAuth.cpp: | |
#include "GenPointerAuth.h" | |
#include "Callee.h" // for PointerAuthInfo, Functio... | |
#include "ConstantBuilder.h" // for ConstantAggregateBuilder... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenMangler.h" // for IRGenMangler | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule... | |
#include "clang/Basic/PointerAuthOptions.h" // for PointerAuthSchema, Point... | |
#include "clang/CodeGen/CodeGenABITypes.h" // for computeStableStringHash | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/Instructions.h" // for CallInst | |
#include "llvm/IR/IntrinsicEnums.inc" // for ptrauth_auth, ptrauth_blend | |
#include "llvm/IR/Intrinsics.h" // for getDeclaration | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svector... | |
#include "new" // for operator delete, operato... | |
#include "string" // for basic_string | |
#include "swift/ABI/MetadataValues.h" // for AssignWithCopy, AssignWi... | |
#include "swift/ABI/ValueWitness.def" // lines 353-353 | |
#include "swift/AST/ASTMangler.h" // for ASTMangler | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature, Gen... | |
#include "swift/AST/Type.h" // for CanType, Type, DenseMapInfo | |
#include "swift/AST/TypeExpansionContext.h" // for TypeExpansionContext | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPoly.h should add these lines: | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
#include "swift/SIL/SILType.h" // for SILType | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPoly.h should remove these lines: | |
- namespace llvm { class Type; } // lines 22-22 | |
- namespace llvm { template <class T> class ArrayRef; } // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenPoly.h: | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
#include "swift/SIL/SILType.h" // for SILType | |
namespace swift { class CanType; } // lines 27-27 | |
namespace swift { namespace irgen { class Explosion; } } // lines 30-30 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 31-31 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 32-32 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPoly.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for irgen | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
/Users/varun/foss-swift/swift/lib/IRGen/GenPoly.cpp should remove these lines: | |
- #include "GenTuple.h" // lines 32-32 | |
- #include "GenType.h" // lines 34-34 | |
- #include "TypeVisitor.h" // lines 31-31 | |
- #include "llvm/IR/DerivedTypes.h" // lines 25-25 | |
- #include "swift/AST/ASTContext.h" // lines 17-17 | |
- #include "swift/AST/ASTVisitor.h" // lines 18-18 | |
- #include "swift/AST/Decl.h" // lines 20-20 | |
- #include "swift/SIL/SILInstruction.h" // lines 22-22 | |
- #include "swift/SIL/SILModule.h" // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenPoly.cpp: | |
#include "GenPoly.h" | |
#include <assert.h> // for assert | |
#include "Explosion.h" // for ExplosionSchema, Explosion... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for irgen | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+ | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for cast, swift | |
#include "swift/SIL/SILType.h" // for SILType | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenProto.h should add these lines: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "swift/AST/Type.h" // for CanType | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
namespace llvm { class Constant; } | |
namespace llvm { class Value; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class SubstitutionMap; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenProto.h should remove these lines: | |
- #include "Fulfillment.h" // lines 22-22 | |
- #include "GenericRequirement.h" // lines 23-23 | |
- #include "swift/SIL/SILFunction.h" // lines 20-20 | |
- namespace swift { class AssociatedConformance; } // lines 30-30 | |
- namespace swift { class CanType; } // lines 32-32 | |
- namespace swift { class FuncDecl; } // lines 33-33 | |
- namespace swift { class SILType; } // lines 37-37 | |
- namespace swift { namespace irgen { class ProtocolInfo; } } // lines 49-49 | |
- namespace swift { namespace irgen { class TypeInfo; } } // lines 50-50 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenProto.h: | |
#include <assert.h> // for assert | |
#include <stddef.h> // for size_t | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "swift/AST/Type.h" // for CanType | |
#include "swift/AST/Types.h" // for CanSILFunctionType | |
namespace llvm { class Constant; } | |
namespace llvm { class Type; } // lines 26-26 | |
namespace llvm { class Value; } | |
namespace llvm { template <typename T> class SmallVectorImpl; } | |
namespace swift { class AssociatedType; } // lines 31-31 | |
namespace swift { class NominalTypeDecl; } | |
namespace swift { class ProtocolConformanceRef; } // lines 35-35 | |
namespace swift { class ProtocolDecl; } | |
namespace swift { class SILFunction; } // lines 38-38 | |
namespace swift { class SubstitutionMap; } | |
namespace swift { namespace irgen { class Address; } } // lines 41-41 | |
namespace swift { namespace irgen { class DynamicMetadataRequest; } } // lines 42-42 | |
namespace swift { namespace irgen { class Explosion; } } // lines 43-43 | |
namespace swift { namespace irgen { class FunctionPointer; } } // lines 44-44 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 45-45 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 46-46 | |
namespace swift { namespace irgen { class MetadataPath; } } // lines 47-47 | |
namespace swift { namespace irgen { class MetadataResponse; } } // lines 48-48 | |
namespace swift { struct SILDeclRef; } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenProto.cpp should add these lines: | |
#include <stdint.h> // for uint16_t | |
#include "Address.h" // for Address | |
#include "Callee.h" // for FunctionPointer, Point... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for IsInexact, IsExact | |
#include "LocalTypeDataKind.h" // for LocalTypeDataKey, Loca... | |
#include "Signature.h" // for Signature | |
#include "WitnessIndex.h" // for WitnessIndex | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, operator== | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Attributes.h" // for Attribute, Attribute::... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantExpr | |
#include "llvm/IR/DataLayout.h" // for DataLayout | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::InternalL... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize, operator>= | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Conform... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConformance | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolConformance | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/EncodedSequence.h" // for EncodedSequence<>::ite... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/PrefixMap.h" // for PrefixMap<>::Handle | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILFunctionConventions.h" // for SILModuleConventions | |
#include "swift/SIL/SILLinkage.h" // for isAvailableExternally | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class Argument; } | |
namespace llvm { class Instruction; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenProto.cpp should remove these lines: | |
- #include "CallEmission.h" // lines 54-54 | |
- #include "EnumPayload.h" // lines 57-57 | |
- #include "FixedTypeInfo.h" // lines 59-59 | |
- #include "GenClass.h" // lines 63-63 | |
- #include "GenEnum.h" // lines 64-64 | |
- #include "TypeInfo.h" // lines 80-80 | |
- #include "swift/AST/ASTContext.h" // lines 30-30 | |
- #include "swift/AST/CanTypeVisitor.h" // lines 31-31 | |
- #include "swift/AST/GenericEnvironment.h" // lines 34-34 | |
- #include "swift/AST/LazyResolver.h" // lines 35-35 | |
- #include "swift/ClangImporter/ClangModule.h" // lines 39-39 | |
- #include "swift/SIL/SILModule.h" // lines 43-43 | |
- #include "swift/SIL/SILValue.h" // lines 44-44 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenProto.cpp: | |
#include "GenProto.h" | |
#include <stdint.h> // for uint16_t | |
#include "Address.h" // for Address | |
#include "Callee.h" // for FunctionPointer, Point... | |
#include "ConformanceDescription.h" // for ConformanceDescription | |
#include "ConstantBuilder.h" // for ConstantStructBuilder | |
#include "Explosion.h" // for Explosion | |
#include "Fulfillment.h" // for FulfillmentMap, Fulfil... | |
#include "GenArchetype.h" // for emitArchetypeWitnessTa... | |
#include "GenCast.h" // for emitReferenceToObjCPro... | |
#include "GenHeap.h" // for emitDynamicTypeOfHeapO... | |
#include "GenMeta.h" // for addGenericRequirements | |
#include "GenOpaque.h" // for emitInvariantLoadOfOpa... | |
#include "GenPointerAuth.h" // for PointerAuthEntity | |
#include "GenPoly.h" // for hasPolymorphicParameters | |
#include "GenType.h" // for TypeConverter | |
#include "GenericRequirement.h" // for GenericRequirement | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for IsInexact, IsExact | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenMangler.h" // for IRGenMangler | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "LocalTypeDataKind.h" // for LocalTypeDataKey, Loca... | |
#include "MetadataPath.h" // for MetadataPath::Component | |
#include "MetadataRequest.h" // for MetadataResponse, Dyna... | |
#include "NecessaryBindings.h" // for NecessaryBindings | |
#include "ProtocolInfo.h" // for WitnessTableEntry, Pro... | |
#include "Signature.h" // for Signature | |
#include "WitnessIndex.h" // for WitnessIndex | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef, operator== | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIter... | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallPtrSet.h" // for SmallPtrSet | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector, SmallVect... | |
#include "llvm/ADT/StringRef.h" // for operator==, StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Attributes.h" // for Attribute, Attribute::... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantExpr | |
#include "llvm/IR/DataLayout.h" // for DataLayout | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, ArrayType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue::InternalL... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for CallInst, LoadInst | |
#include "llvm/IR/Module.h" // for Module | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, isa, cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/TypeSize.h" // for TypeSize, operator>= | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw_svect... | |
#include "memory" // for unique_ptr | |
#include "new" // for operator new | |
#include "swift/ABI/MetadataValues.h" // for MetadataState, Conform... | |
#include "swift/AST/Decl.h" // for ProtocolDecl, NominalT... | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericSignature.h" // for GenericSignature, CanG... | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions, PointerA... | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTraceConfor... | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConformance | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolConformance | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConformanceRef | |
#include "swift/AST/Requirement.h" // for Requirement, Requireme... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Types.h" // for CanTypeWrapper, TypeBase | |
#include "swift/Basic/ArrayRefView.h" // for ArrayRefView | |
#include "swift/Basic/EncodedSequence.h" // for EncodedSequence<>::ite... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa, cast | |
#include "swift/Basic/PrefixMap.h" // for PrefixMap<>::Handle | |
#include "swift/Basic/Range.h" // for indices, range, IntRange | |
#include "swift/IRGen/Linking.h" // for LinkEntity | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for SILDeclRef, ForDefinition | |
#include "swift/SIL/SILDefaultWitnessTable.h" // for SILDefaultWitnessTable | |
#include "swift/SIL/SILFunction.h" // for SILFunction | |
#include "swift/SIL/SILFunctionConventions.h" // for SILModuleConventions | |
#include "swift/SIL/SILLinkage.h" // for isAvailableExternally | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/SILWitnessTable.h" // for SILWitnessTable, SILWi... | |
#include "swift/SIL/SILWitnessVisitor.h" // for SILWitnessVisitor | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference<>::type | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class Argument; } | |
namespace llvm { class Instruction; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenReflection.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint16_t, uint32_t | |
#include "Address.h" // for Address | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenericRequirement.h" // for GenericRequirement | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for ConstantInit | |
#include "MetadataPath.h" // for MetadataPath | |
#include "NecessaryBindings.h" // for NecessaryBindings | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMapPair | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, Con... | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, Fun... | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, Glo... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw... | |
#include "memory" // for unique_ptr | |
#include "string" // for basic_string | |
#include "swift/ABI/MetadataValues.h" // for MetadataState | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Attr.h" // for AlignmentAttr | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConfor... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConforma... | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase, CanTyp... | |
#include "swift/Basic/EncodedSequence.h" // for EncodedSequence | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast, GenericArg... | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class Type; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class SILFunction; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenReflection.cpp should remove these lines: | |
- #include "GenClass.h" // lines 31-31 | |
- #include "GenType.h" // lines 36-36 | |
- #include "LoadableTypeInfo.h" // lines 41-41 | |
- #include "MetadataRequest.h" // lines 42-42 | |
- #include "swift/SIL/SILModule.h" // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenReflection.cpp: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint16_t, uint32_t | |
#include "Address.h" // for Address | |
#include "ConstantBuilder.h" // for ConstantStructBu... | |
#include "Explosion.h" // for Explosion | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenDecl.h" // for disableAddressSa... | |
#include "GenEnum.h" // for EnumImplStrategy | |
#include "GenHeap.h" // for HeapLayout | |
#include "GenProto.h" // for MetadataSource | |
#include "GenericRequirement.h" // for GenericRequirement | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for ConstantInit | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenMangler.h" // for IRGenMangler | |
#include "IRGenModule.h" // for IRGenModule, Man... | |
#include "MetadataPath.h" // for MetadataPath | |
#include "NecessaryBindings.h" // for NecessaryBindings | |
#include "SwiftTargetInfo.h" // for SwiftTargetInfo | |
#include "TypeInfo.h" // for TypeInfo | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMapPair | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/STLExtras.h" // for function_ref | |
#include "llvm/ADT/SetVector.h" // for SetVector | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/TinyPtrVector.h" // for TinyPtrVector | |
#include "llvm/ADT/Triple.h" // for Triple, Triple::... | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, Con... | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, Fun... | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, Glo... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, isa | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/VersionTuple.h" // for VersionTuple | |
#include "llvm/Support/raw_ostream.h" // for raw_ostream, raw... | |
#include "memory" // for unique_ptr | |
#include "string" // for basic_string | |
#include "swift/ABI/MetadataValues.h" // for MetadataState | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Attr.h" // for AlignmentAttr | |
#include "swift/AST/Decl.h" // for NominalTypeDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/GenericEnvironment.h" // for GenericEnvironment | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Module.h" // for ModuleDecl | |
#include "swift/AST/PrettyStackTrace.h" // for PrettyStackTrace... | |
#include "swift/AST/ProtocolAssociations.h" // for AssociatedConfor... | |
#include "swift/AST/ProtocolConformance.h" // for NormalProtocolCo... | |
#include "swift/AST/ProtocolConformanceRef.h" // for ProtocolConforma... | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/SubstitutionMap.h" // for SubstitutionMap | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase, CanTyp... | |
#include "swift/Basic/EncodedSequence.h" // for EncodedSequence | |
#include "swift/Basic/InlineBitfield.h" // for swift | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa | |
#include "swift/Basic/LangOptions.h" // for LangOptions | |
#include "swift/Basic/Platform.h" // for getSwiftRuntimeC... | |
#include "swift/IRGen/Linking.h" // for ApplyIRLinkage | |
#include "swift/IRGen/ValueWitness.h" // for irgen | |
#include "swift/Reflection/MetadataSource.h" // for cast, GenericArg... | |
#include "swift/Reflection/MetadataSourceBuilder.h" // for MetadataSourceBu... | |
#include "swift/Reflection/Records.h" // for FieldDescriptorKind | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "tuple" // for tie, tuple | |
#include "type_traits" // for remove_reference... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class Type; } | |
namespace llvm { template <typename Fn> class function_ref; } | |
namespace swift { class SILFunction; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenStruct.h should add these lines: | |
/Users/varun/foss-swift/swift/lib/IRGen/GenStruct.h should remove these lines: | |
- namespace swift { class CanType; } // lines 27-27 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenStruct.h: | |
#include "llvm/ADT/Optional.h" // for Optional | |
namespace llvm { class Constant; } // lines 23-23 | |
namespace swift { class SILType; } // lines 28-28 | |
namespace swift { class VarDecl; } // lines 29-29 | |
namespace swift { namespace irgen { class Address; } } // lines 32-32 | |
namespace swift { namespace irgen { class Explosion; } } // lines 33-33 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 34-34 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 35-35 | |
namespace swift { namespace irgen { class MemberAccessStrategy; } } // lines 36-36 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenStruct.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "Explosion.h" // for ExplosionSchema, Explosion | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenOpaque.h" // for emitGetEnumTagSinglePay... | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, operator-, Alignment | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "StructLayout.h" // for StructLayout, ElementLa... | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for TypeLayoutEntry (ptr only) | |
#include "clang/AST/Attrs.inc" // for SwiftNewtypeAttr | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/DeclBase.h" // for DeclContext::specific_d... | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/Instructions.h" // for LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "new" // for operator new | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move, remove_reference<... | |
#include "vector" // for vector | |
namespace llvm { class Type; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenStruct.cpp should remove these lines: | |
- #include "clang/AST/Attr.h" // lines 29-29 | |
- #include "llvm/IR/Function.h" // lines 27-27 | |
- #include "swift/AST/Pattern.h" // lines 22-22 | |
- #include "swift/AST/SubstitutionMap.h" // lines 23-23 | |
- #include "swift/IRGen/Linking.h" // lines 24-24 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenStruct.cpp: | |
#include "GenStruct.h" | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "Explosion.h" // for ExplosionSchema, Explosion | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenMeta.h" // for emitStructMetadata | |
#include "GenOpaque.h" // for emitGetEnumTagSinglePay... | |
#include "GenRecord.h" // for RecordField, RecordType... | |
#include "GenType.h" // for IRGenTypeVerifierFunction | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, operator-, Alignment | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenerator | |
#include "IndirectTypeInfo.h" // for IndirectTypeInfo | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "MemberAccessStrategy.h" // for MemberAccessStrategy | |
#include "MetadataLayout.h" // for StructMetadataLayout | |
#include "NonFixedTypeInfo.h" // for WitnessSizedTypeInfo | |
#include "ResilientTypeInfo.h" // for ResilientTypeInfo | |
#include "StructLayout.h" // for StructLayout, ElementLa... | |
#include "StructMetadataVisitor.h" // for StructMetadataScanner | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for TypeLayoutEntry (ptr only) | |
#include "clang/AST/ASTContext.h" // for ASTContext | |
#include "clang/AST/Attrs.inc" // for SwiftNewtypeAttr | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/AST/Decl.h" // for FieldDecl, RecordDecl | |
#include "clang/AST/DeclBase.h" // for DeclContext::specific_d... | |
#include "clang/AST/RecordLayout.h" // for ASTRecordLayout | |
#include "clang/CodeGen/SwiftCallingConv.h" // for SwiftAggLowering | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/SmallVector.h" // for SmallVector | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for IntegerType, ArrayType | |
#include "llvm/IR/Instructions.h" // for LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "new" // for operator new | |
#include "swift/AST/ClangNode.h" // for ClangNode | |
#include "swift/AST/Decl.h" // for StructDecl, VarDecl | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Type.h" // for CanType, Type | |
#include "swift/AST/Types.h" // for TypeBase | |
#include "swift/Basic/LLVM.h" // for dyn_cast, isa | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move, remove_reference<... | |
#include "vector" // for vector | |
namespace llvm { class Type; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenThunk.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "DebugTypeInfo.h" // for DebugTypeInfo | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for irgen | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList | |
#include "llvm/IR/DerivedTypes.h" // for StructType, FunctionType | |
#include "llvm/IR/Instructions.h" // for CallInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/Casting.h" // for isa, cast | |
#include "swift/AST/Decl.h" // for AbstractFunctionDecl | |
#include "swift/AST/Type.h" // for isa | |
#include "swift/AST/Types.h" // for CanTypeWrapper, SILFun... | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for SILDeclRef, ForDefinit... | |
#include "swift/SIL/SILFunctionConventions.h" // for SILParameterInfo::getS... | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
namespace llvm { class Constant; } | |
namespace llvm { class GlobalValue; } | |
namespace llvm { class Value; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenThunk.cpp should remove these lines: | |
- #include "GenOpaque.h" // lines 24-24 | |
- #include "MetadataLayout.h" // lines 28-28 | |
- #include "ProtocolInfo.h" // lines 29-29 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenThunk.cpp: | |
#include <assert.h> // for assert | |
#include "Callee.h" // for FunctionPointer | |
#include "DebugTypeInfo.h" // for DebugTypeInfo | |
#include "Explosion.h" // for Explosion | |
#include "GenClass.h" // for emitVirtualMethodValue | |
#include "GenDecl.h" // for createFunction, update... | |
#include "GenHeap.h" // for emitHeapMetadataRefFor... | |
#include "GenProto.h" // for emitWitnessMethodValue | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for irgen | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule, IRGenModu... | |
#include "Signature.h" // for Signature | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapBase | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Attributes.h" // for AttributeList | |
#include "llvm/IR/DerivedTypes.h" // for StructType, FunctionType | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/Instructions.h" // for CallInst | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Support/Casting.h" // for isa, cast | |
#include "swift/AST/Decl.h" // for AbstractFunctionDecl | |
#include "swift/AST/Type.h" // for isa | |
#include "swift/AST/Types.h" // for CanTypeWrapper, SILFun... | |
#include "swift/Basic/LLVM.h" // for isa, swift | |
#include "swift/IRGen/Linking.h" // for LinkEntity, LinkInfo | |
#include "swift/Reflection/MetadataSource.h" // for cast | |
#include "swift/SIL/SILDeclRef.h" // for SILDeclRef, ForDefinit... | |
#include "swift/SIL/SILFunctionConventions.h" // for SILParameterInfo::getS... | |
#include "swift/SIL/SILModule.h" // for SILModule | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "swift/SIL/TypeLowering.h" // for TypeConverter | |
namespace llvm { class Constant; } | |
namespace llvm { class GlobalValue; } | |
namespace llvm { class Value; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenTuple.h should add these lines: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/SIL/SILType.h" // for SILType | |
namespace swift { namespace irgen { class IRGenModule; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenTuple.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 20-20 | |
- namespace swift { class CanType; } // lines 23-23 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenTuple.h: | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "swift/SIL/SILType.h" // for SILType | |
namespace swift { namespace irgen { class Address; } } // lines 26-26 | |
namespace swift { namespace irgen { class Explosion; } } // lines 27-27 | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 28-28 | |
namespace swift { namespace irgen { class IRGenModule; } } | |
namespace swift { namespace irgen { class Size; } } // lines 29-29 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenTuple.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenOpaque.h" // for emitGetEnumTagSinglePayloadCall | |
#include "GenericRequirement.h" // for irgen | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Alignment, IsPOD_t | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "StructLayout.h" // for StructLayout, ElementLayout | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for TypeLayoutEntry (ptr only) | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/Instructions.h" // for LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Type.h" // for CanType, cast, isa | |
#include "swift/Basic/LLVM.h" // for isa, cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "type_traits" // for move, enable_if<>::type, for... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace clang { namespace CodeGen { namespace swiftcall { class SwiftAggLowering; } } } | |
namespace llvm { class Type; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenTuple.cpp should remove these lines: | |
- #include "GenHeap.h" // lines 30-30 | |
- #include "swift/AST/Decl.h" // lines 24-24 | |
- #include "swift/AST/Pattern.h" // lines 25-25 | |
- #include "swift/SIL/SILModule.h" // lines 26-26 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenTuple.cpp: | |
#include "GenTuple.h" | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "Explosion.h" // for Explosion | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenOpaque.h" // for emitGetEnumTagSinglePayloadCall | |
#include "GenRecord.h" // for FieldsAreABIAccessible_t | |
#include "GenType.h" // for IRGenTypeVerifierFunction | |
#include "GenericRequirement.h" // for irgen | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Size, Alignment, IsPOD_t | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule | |
#include "IndirectTypeInfo.h" // for IndirectTypeInfo | |
#include "LoadableTypeInfo.h" // for LoadableTypeInfo | |
#include "NonFixedTypeInfo.h" // for WitnessSizedTypeInfo | |
#include "StructLayout.h" // for StructLayout, ElementLayout | |
#include "TypeInfo.h" // for TypeInfo | |
#include "TypeLayout.h" // for TypeLayoutEntry (ptr only) | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/None.h" // for None, NoneType | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt | |
#include "llvm/IR/DerivedTypes.h" // for PointerType | |
#include "llvm/IR/Instructions.h" // for LoadInst | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Casting.h" // for cast, isa, dyn_cast | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "swift/AST/Evaluator.h" // for None | |
#include "swift/AST/Identifier.h" // for Identifier | |
#include "swift/AST/Type.h" // for CanType, cast, isa | |
#include "swift/AST/Types.h" // for TupleType, TupleTypeElt, Can... | |
#include "swift/Basic/LLVM.h" // for isa, cast, swift | |
#include "swift/Basic/Range.h" // for indices | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for move, enable_if<>::type, for... | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace clang { namespace CodeGen { namespace swiftcall { class SwiftAggLowering; } } } | |
namespace llvm { class Type; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenType.h should add these lines: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "IRGen.h" // for Size (ptr only), IsABIAcc... | |
#include "ProtocolInfo.h" // for ProtocolInfo (ptr only) | |
#include "TypeLayout.h" // for TypeLayoutEntry (ptr only) | |
#include "iosfwd" // for string | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "memory" // for unique_ptr | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Types.h" // for TypeBase (ptr only), Arch... | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class Constant; } | |
namespace llvm { class Function; } | |
namespace llvm { class PointerType; } | |
namespace llvm { class StructType; } | |
namespace llvm { class Type; } | |
namespace llvm { class Value; } | |
namespace llvm { namespace vfs { class FileSystem; } } | |
namespace llvm { template <typename T> class [[clang::warn_unused_result("")]] ArrayRef; } | |
namespace swift { class GenericEnvironment; } | |
namespace swift { namespace irgen { struct YAMLTypeInfoNode; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenType.h should remove these lines: | |
- #include "LegacyLayoutFormat.h" // lines 28-28 | |
- #include "llvm/ADT/FoldingSet.h" // lines 22-22 | |
- #include "llvm/ADT/ilist.h" // lines 23-23 | |
- #include "llvm/ADT/ilist_node.h" // lines 24-24 | |
- namespace swift { class AnyFunctionType; } // lines 35-35 | |
- namespace swift { class ArchetypeType; } // lines 32-32 | |
- namespace swift { class EnumDecl; } // lines 49-49 | |
- namespace swift { class GenericSignatureBuilder; } // lines 31-31 | |
- namespace swift { class InOutType; } // lines 36-36 | |
- namespace swift { class MetatypeType; } // lines 37-37 | |
- namespace swift { class ModuleType; } // lines 38-38 | |
- namespace swift { class ProtocolCompositionType; } // lines 41-41 | |
- namespace swift { class ProtocolType; } // lines 43-43 | |
- namespace swift { class SILFunctionType; } // lines 44-44 | |
- namespace swift { class TupleType; } // lines 46-46 | |
- namespace swift { class Type; } // lines 48-48 | |
- namespace swift { class TypeBase; } // lines 47-47 | |
- namespace swift { class UnownedStorageType; } // lines 50-50 | |
- namespace swift { class WeakStorageType; } // lines 51-51 | |
- namespace swift { namespace irgen { class Alignment; } } // lines 55-55 | |
- namespace swift { namespace irgen { class ProtocolInfo; } } // lines 57-57 | |
- namespace swift { namespace irgen { class Size; } } // lines 58-58 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenType.h: | |
#include <assert.h> // for assert | |
#include "Address.h" // for Address | |
#include "IRGen.h" // for Size (ptr only), IsABIAcc... | |
#include "IRGenFunction.h" // for IRGenFunction | |
#include "IRGenModule.h" // for IRGenModule | |
#include "ProtocolInfo.h" // for ProtocolInfo (ptr only) | |
#include "TypeLayout.h" // for TypeLayoutEntry (ptr only) | |
#include "iosfwd" // for string | |
#include "llvm/ADT/DenseMap.h" // for DenseMap | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/StringMap.h" // for StringMap | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "memory" // for unique_ptr | |
#include "swift/AST/GenericSignature.h" // for CanGenericSignature | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting | |
#include "swift/AST/ReferenceStorage.def" // lines 165-165 | |
#include "swift/AST/ReferenceStorage.def" // lines 198-198 | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion | |
#include "swift/AST/Types.h" // for TypeBase (ptr only), Arch... | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "utility" // for pair | |
#include "vector" // for vector | |
namespace llvm { class Constant; } | |
namespace llvm { class Function; } | |
namespace llvm { class PointerType; } | |
namespace llvm { class StructType; } | |
namespace llvm { class Type; } | |
namespace llvm { class Value; } | |
namespace llvm { namespace vfs { class FileSystem; } } | |
namespace llvm { template <typename T> class [[clang::warn_unused_result("")]] ArrayRef; } | |
namespace swift { class CanType; } // lines 33-33 | |
namespace swift { class ClassDecl; } // lines 34-34 | |
namespace swift { class EnumDecl; } // lines 40-40 | |
namespace swift { class GenericEnvironment; } | |
namespace swift { class NominalTypeDecl; } // lines 39-39 | |
namespace swift { class ProtocolDecl; } // lines 42-42 | |
namespace swift { class StructDecl; } // lines 45-45 | |
namespace swift { namespace irgen { class FixedTypeInfo; } } // lines 59-59 | |
namespace swift { namespace irgen { class GenericContextScope; } } // lines 56-56 | |
namespace swift { namespace irgen { class LoadableTypeInfo; } } // lines 60-60 | |
namespace swift { namespace irgen { class TypeInfo; } } // lines 61-61 | |
namespace swift { namespace irgen { struct YAMLTypeInfoNode; } } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenType.cpp should add these lines: | |
#include <stdint.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/KeyPath.h" | |
#include "FixedTypeInfo.h" | |
#include "GenEnum.h" | |
#include "IRBuilder.h" | |
#include "ScalarTypeInfo.h" | |
#include "SwiftTargetInfo.h" | |
#include "TypeInfo.h" | |
#include "algorithm" | |
#include "array" | |
#include "clang/AST/CharUnits.h" | |
#include "iterator" | |
#include "llvm/ADT/APInt.h" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" | |
#include "llvm/ADT/None.h" | |
#include "llvm/ADT/STLExtras.h" | |
#include "llvm/ADT/StringExtras.h" | |
#include "llvm/ADT/Triple.h" | |
#include "llvm/ADT/iterator.h" | |
#include "llvm/IR/BasicBlock.h" | |
#include "llvm/IR/Constant.h" | |
#include "llvm/IR/Constants.h" | |
#include "llvm/IR/DataLayout.h" | |
#include "llvm/IR/Instructions.h" | |
#include "llvm/IR/Type.h" | |
#include "llvm/IR/Value.h" | |
#include "llvm/Support/Casting.h" | |
#include "llvm/Support/ErrorOr.h" | |
#include "llvm/Support/MathExtras.h" | |
#include "llvm/Support/MemoryBuffer.h" | |
#include "llvm/Support/TypeSize.h" | |
#include "llvm/Support/VirtualFileSystem.h" | |
#include "llvm/Support/YAMLTraits.h" | |
#include "new" | |
#include "string" | |
#include "swift/AST/ASTContext.h" | |
#include "swift/AST/ASTMangler.h" | |
#include "swift/AST/Attr.h" | |
#include "swift/AST/Availability.h" | |
#include "swift/AST/DeclContext.h" | |
#include "swift/AST/Evaluator.h" | |
#include "swift/AST/Module.h" | |
#include "swift/AST/ProtocolConformanceRef.h" | |
#include "swift/AST/SearchPathOptions.h" | |
#include "swift/AST/Type.h" | |
#include "swift/AST/TypeExpansionContext.h" | |
#include "swift/Basic/ClusteredBitVector.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/LangOptions.h" | |
#include "swift/Basic/STLExtras.h" | |
#include "swift/Basic/SourceLoc.h" | |
#include "swift/Basic/SourceManager.h" | |
#include "swift/IRGen/ValueWitness.h" | |
#include "swift/Reflection/MetadataSource.h" | |
#include "swift/SIL/AbstractionPattern.h" | |
#include "swift/SIL/Consumption.h" | |
#include "swift/SIL/TypeLowering.h" | |
#include "system_error" | |
#include "tuple" | |
#include "type_traits" | |
namespace llvm { class LLVMContext; } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenType.cpp should remove these lines: | |
- #include "GenMeta.h" // lines 38-38 | |
- #include "GenProto.h" // lines 39-39 | |
- #include "NonFixedTypeInfo.h" // lines 54-54 | |
- #include "ReferenceTypeInfo.h" // lines 50-50 | |
- #include "ScalarPairTypeInfo.h" // lines 51-51 | |
- #include "clang/CodeGen/SwiftCallingConv.h" // lines 32-32 | |
- #include "swift/AST/LazyResolver.h" // lines 21-21 | |
- #include "swift/IRGen/Linking.h" // lines 26-26 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenType.cpp: | |
#include "GenType.h" | |
#include <stdint.h> | |
#include "/Users/varun/foss-swift/swift/stdlib/public/SwiftShims/KeyPath.h" | |
#include "Address.h" | |
#include "BitPatternBuilder.h" | |
#include "EnumPayload.h" | |
#include "Explosion.h" | |
#include "FixedTypeInfo.h" | |
#include "GenEnum.h" | |
#include "GenOpaque.h" | |
#include "HeapTypeInfo.h" | |
#include "IRBuilder.h" | |
#include "IRGenFunction.h" | |
#include "IRGenMangler.h" | |
#include "IRGenModule.h" | |
#include "IndirectTypeInfo.h" | |
#include "LegacyLayoutFormat.h" | |
#include "LoadableTypeInfo.h" | |
#include "NativeConventionSchema.h" | |
#include "Outlining.h" | |
#include "ProtocolInfo.h" | |
#include "ScalarTypeInfo.h" | |
#include "SwiftTargetInfo.h" | |
#include "TypeInfo.h" | |
#include "algorithm" | |
#include "array" | |
#include "clang/AST/CharUnits.h" | |
#include "iterator" | |
#include "llvm/ADT/APInt.h" | |
#include "llvm/ADT/ArrayRef.h" | |
#include "llvm/ADT/IntrusiveRefCntPtr.h" | |
#include "llvm/ADT/None.h" | |
#include "llvm/ADT/STLExtras.h" | |
#include "llvm/ADT/SmallString.h" | |
#include "llvm/ADT/StringExtras.h" | |
#include "llvm/ADT/Triple.h" | |
#include "llvm/ADT/iterator.h" | |
#include "llvm/IR/BasicBlock.h" | |
#include "llvm/IR/Constant.h" | |
#include "llvm/IR/Constants.h" | |
#include "llvm/IR/DataLayout.h" | |
#include "llvm/IR/DerivedTypes.h" | |
#include "llvm/IR/Instructions.h" | |
#include "llvm/IR/Type.h" | |
#include "llvm/IR/Value.h" | |
#include "llvm/Support/Casting.h" | |
#include "llvm/Support/ErrorHandling.h" | |
#include "llvm/Support/ErrorOr.h" | |
#include "llvm/Support/MathExtras.h" | |
#include "llvm/Support/MemoryBuffer.h" | |
#include "llvm/Support/Path.h" | |
#include "llvm/Support/TypeSize.h" | |
#include "llvm/Support/VirtualFileSystem.h" | |
#include "llvm/Support/YAMLTraits.h" | |
#include "new" | |
#include "string" | |
#include "swift/ABI/MetadataValues.h" | |
#include "swift/AST/ASTContext.h" | |
#include "swift/AST/ASTMangler.h" | |
#include "swift/AST/Attr.h" | |
#include "swift/AST/Availability.h" | |
#include "swift/AST/CanTypeVisitor.h" | |
#include "swift/AST/Decl.h" | |
#include "swift/AST/DeclContext.h" | |
#include "swift/AST/DeclNodes.def" // lines 2240-2240 | |
#include "swift/AST/DeclNodes.def" // lines 2275-2275 | |
#include "swift/AST/Evaluator.h" | |
#include "swift/AST/GenericEnvironment.h" | |
#include "swift/AST/IRGenOptions.h" | |
#include "swift/AST/Module.h" | |
#include "swift/AST/PrettyStackTrace.h" | |
#include "swift/AST/ProtocolConformanceRef.h" | |
#include "swift/AST/ReferenceStorage.def" // lines 1989-1989 | |
#include "swift/AST/ReferenceStorage.def" // lines 2026-2026 | |
#include "swift/AST/SearchPathOptions.h" | |
#include "swift/AST/Type.h" | |
#include "swift/AST/TypeExpansionContext.h" | |
#include "swift/AST/TypeNodes.def" // lines 1920-1920 | |
#include "swift/AST/Types.h" | |
#include "swift/Basic/ClusteredBitVector.h" | |
#include "swift/Basic/LLVM.h" | |
#include "swift/Basic/LangOptions.h" | |
#include "swift/Basic/Platform.h" | |
#include "swift/Basic/STLExtras.h" | |
#include "swift/Basic/SourceLoc.h" | |
#include "swift/Basic/SourceManager.h" | |
#include "swift/IRGen/ValueWitness.h" | |
#include "swift/Reflection/MetadataSource.h" | |
#include "swift/SIL/AbstractionPattern.h" | |
#include "swift/SIL/Consumption.h" | |
#include "swift/SIL/SILModule.h" | |
#include "swift/SIL/TypeLowering.h" | |
#include "system_error" | |
#include "tuple" | |
#include "type_traits" | |
namespace llvm { class LLVMContext; } | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenValueWitness.h should add these lines: | |
/Users/varun/foss-swift/swift/lib/IRGen/GenValueWitness.h should remove these lines: | |
- #include "swift/Basic/LLVM.h" // lines 21-21 | |
- namespace llvm { class Constant; } // lines 24-24 | |
- namespace llvm { class Type; } // lines 25-25 | |
- namespace swift { namespace irgen { class ConstantStructBuilder; } } // lines 32-32 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenValueWitness.h: | |
namespace swift { class CanType; } // lines 29-29 | |
namespace swift { namespace irgen { class ConstantReference; } } // lines 34-34 | |
namespace swift { namespace irgen { class IRGenModule; } } // lines 33-33 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/GenValueWitness.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Alignment, Size, operator!= | |
#include "TypeLayout.h" // for TypeLayoutEntry, EnumType... | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantExpr | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalValue:... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for LoadInst, PHINode | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, dyn_cast_... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "memory" // for unique_ptr | |
#include "swift/ABI/MetadataValues.h" // for ValueWitnessFlags, Target... | |
#include "swift/AST/Decl.h" // for EnumDecl, NominalTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Refere... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion, Resi... | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, dyn_cast_... | |
#include "swift/IRGen/ValueWitness.h" // for ValueWitness, ValueWitnes... | |
#include "swift/SIL/AbstractionPattern.h" // for AbstractionPattern | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for remove_reference<>::type | |
namespace swift { namespace irgen { class OutliningMetadataCollector; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/GenValueWitness.cpp should remove these lines: | |
- #include "Explosion.h" // lines 35-35 | |
- #include "GenPointerAuth.h" // lines 40-40 | |
- #include "StructLayout.h" // lines 44-44 | |
- #include "swift/SIL/TypeLowering.h" // lines 28-28 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/GenValueWitness.cpp: | |
#include "GenValueWitness.h" | |
#include <assert.h> // for assert | |
#include <stdint.h> // for uint64_t | |
#include "Address.h" // for Address | |
#include "ConstantBuilder.h" // for ConstantStructBuilder | |
#include "FixedTypeInfo.h" // for FixedTypeInfo | |
#include "GenEnum.h" // for getEnumImplStrategy, Enum... | |
#include "GenMeta.h" // for getArgAsLocalSelfTypeMeta... | |
#include "GenOpaque.h" // for getFixedBufferAlignment | |
#include "IRBuilder.h" // for IRBuilder | |
#include "IRGen.h" // for Alignment, Size, operator!= | |
#include "IRGenDebugInfo.h" // for IRGenDebugInfo | |
#include "IRGenFunction.h" // for IRGenFunction, Conditiona... | |
#include "IRGenModule.h" // for IRGenModule, IRGenModule:... | |
#include "TypeInfo.h" // for TypeInfo, FixedPacking | |
#include "TypeLayout.h" // for TypeLayoutEntry, EnumType... | |
#include "llvm/ADT/APInt.h" // for APInt | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for DenseMap, DenseMapIterator | |
#include "llvm/ADT/SmallString.h" // for SmallString | |
#include "llvm/ADT/StringRef.h" // for StringRef | |
#include "llvm/ADT/Twine.h" // for operator+, Twine | |
#include "llvm/IR/Argument.h" // for Argument | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/Constants.h" // for ConstantInt, ConstantExpr | |
#include "llvm/IR/DerivedTypes.h" // for PointerType, IntegerType | |
#include "llvm/IR/Function.h" // for Function, Function::arg_i... | |
#include "llvm/IR/GlobalValue.h" // for GlobalValue, GlobalValue:... | |
#include "llvm/IR/GlobalVariable.h" // for GlobalVariable | |
#include "llvm/IR/Instructions.h" // for LoadInst, PHINode | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/IR/Value.h" // for Value | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/Casting.h" // for dyn_cast, cast, dyn_cast_... | |
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable | |
#include "llvm/Support/raw_ostream.h" // for raw_svector_ostream, raw_... | |
#include "memory" // for unique_ptr | |
#include "swift/ABI/MetadataValues.h" // for ValueWitnessFlags, Target... | |
#include "swift/AST/ASTContext.h" // for ASTContext | |
#include "swift/AST/Decl.h" // for EnumDecl, NominalTypeDecl | |
#include "swift/AST/DeclContext.h" // for DeclContext | |
#include "swift/AST/IRGenOptions.h" // for IRGenOptions, PointerAuth... | |
#include "swift/AST/ReferenceCounting.h" // for ReferenceCounting, Refere... | |
#include "swift/AST/ResilienceExpansion.h" // for ResilienceExpansion, Resi... | |
#include "swift/AST/Type.h" // for CanType, Type, dyn_cast | |
#include "swift/AST/Types.h" // for BuiltinIntegerType, CanTy... | |
#include "swift/Basic/LLVM.h" // for dyn_cast, cast, dyn_cast_... | |
#include "swift/IRGen/Linking.h" // for LinkEntity | |
#include "swift/IRGen/ValueWitness.h" // for ValueWitness, ValueWitnes... | |
#include "swift/SIL/AbstractionPattern.h" // for AbstractionPattern | |
#include "swift/SIL/SILDeclRef.h" // for ForDefinition | |
#include "swift/SIL/SILType.h" // for SILType | |
#include "type_traits" // for remove_reference<>::type | |
namespace swift { namespace irgen { class OutliningMetadataCollector; } } | |
namespace { template <class T> class DynamicPackingPHIMapping; } // lines 95-95 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/IRGen.h should add these lines: | |
#include <stdint.h> // for uint64_t, uint8_t, int... | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, PointerU... | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/MathExtras.h" // for Log2_64, isPowerOf2_64 | |
#include "swift/Basic/ClusteredBitVector.h" // for ClusteredBitVector | |
namespace llvm { class Constant; } | |
namespace llvm { class Type; } | |
namespace swift { namespace Lowering { class AbstractionPattern; } } | |
/Users/varun/foss-swift/swift/lib/IRGen/IRGen.h should remove these lines: | |
- #include "llvm/Support/DataTypes.h" // lines 21-21 | |
- #include "swift/AST/ResilienceExpansion.h" // lines 24-24 | |
- #include "swift/SIL/AbstractionPattern.h" // lines 25-25 | |
- namespace swift { class CanType; } // lines 33-33 | |
- namespace swift { class ClusteredBitVector; } // lines 34-34 | |
The full include-list for /Users/varun/foss-swift/swift/lib/IRGen/IRGen.h: | |
#include <stdint.h> // for uint64_t, uint8_t, int... | |
#include <cassert> // for assert | |
#include "clang/AST/CharUnits.h" // for CharUnits | |
#include "clang/CodeGen/ConstantInitFuture.h" // for ConstantInitFuture | |
#include "llvm/ADT/PointerUnion.h" // for PointerUnion, PointerU... | |
#include "llvm/Support/Alignment.h" // for MaybeAlign | |
#include "llvm/Support/MathExtras.h" // for Log2_64, isPowerOf2_64 | |
#include "swift/Basic/ClusteredBitVector.h" // for ClusteredBitVector | |
namespace llvm { class Constant; } | |
namespace llvm { class Type; } | |
namespace llvm { class Value; } // lines 29-29 | |
namespace swift { namespace Lowering { class AbstractionPattern; } } | |
namespace swift { namespace irgen { class IRGenFunction; } } // lines 40-40 | |
namespace swift { namespace irgen { class Size; } } // lines 46-46 | |
--- | |
/Users/varun/foss-swift/swift/lib/IRGen/IRGen.cpp should add these lines: | |
#include <assert.h> // for assert | |
#include <pthread.h> // for pthre... | |
#include <stddef.h> // for size_t | |
#include <stdint.h> // for uint8_t | |
#include <sys/_pthread/_pthread_attr_t.h> // for pthre... | |
#include <sys/_pthread/_pthread_t.h> // for pthre... | |
#include <memory> // for alloc... | |
#include "IRGen.h" // for irgen | |
#include "SwiftTargetInfo.h" // for Swift... | |
#include "algorithm" // for for_each | |
#include "clang/Basic/CodeGenOptions.h" // for CodeG... | |
#include "clang/Basic/LangOptions.h" // for LangO... | |
#include "clang/Basic/PointerAuthOptions.h" // for Point... | |
#include "clang/Basic/TargetOptions.h" // for Targe... | |
#include "functional" // for __base | |
#include "iosfwd" // for string | |
#include "llvm/ADT/ArrayRef.h" // for ArrayRef | |
#include "llvm/ADT/DenseMap.h" // for Dense... | |
#include "llvm/ADT/DenseSet.h" // for DenseSet | |
#include "llvm/ADT/None.h" // for None | |
#include "llvm/ADT/Optional.h" // for Optional | |
#include "llvm/ADT/PointerUnion.h" // for Point... | |
#include "llvm/ADT/SmallSet.h" // for SmallSet | |
#include "llvm/ADT/SmallString.h" // for Small... | |
#include "llvm/ADT/SmallVector.h" // for Small... | |
#include "llvm/ADT/StringRef.h" // for Strin... | |
#include "llvm/ADT/Triple.h" // for Triple | |
#include "llvm/ADT/Twine.h" // for Twine | |
#include "llvm/ADT/ilist_iterator.h" // for ilist... | |
#include "llvm/Analysis/TargetTransformInfo.h" // for creat... | |
#include "llvm/IR/BasicBlock.h" // for Basic... | |
#include "llvm/IR/Constant.h" // for Constant | |
#include "llvm/IR/DerivedTypes.h" // for Array... | |
#include "llvm/IR/Function.h" // for Function | |
#include "llvm/IR/GlobalAlias.h" // for Globa... | |
#include "llvm/IR/GlobalValue.h" // for Globa... | |
#include "llvm/IR/GlobalVariable.h" // for Globa... | |
#include "llvm/IR/Metadata.h" // for MDTuple | |
#include "llvm/IR/Type.h" // for Type | |
#include "llvm/Object/Binary.h" // for creat... | |
#include "llvm/Pass.h" // for Immut... | |
#include "llvm/PassAnalysisSupport.h" // for Pass:... | |
#include "llvm/Support/Alignment.h" // for Maybe... | |
#include "llvm/Support/Casting.h" // for dyn_cast | |
#include "llvm/Su |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment