mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
runtime: remove use of swift/LLVM.h (NFC)
Rather than using the forward declaration for the LLVMSupport types, expect to be able to use the full declaration. Because these are references in the implementation, there is no reason to use a forward declaration as the full types need to be declared for use. The LLVM headers will provide the declaration and definition for the types. This is motivated by the desire to ensure that the LLVMSupport symbols are properly namespaced to avoid ODR violations in the runtime.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
#include "swift/Runtime/Metadata.h"
|
||||
#include "MetadataCache.h"
|
||||
#include "swift/Basic/LLVM.h"
|
||||
#include "swift/Basic/Lazy.h"
|
||||
#include "swift/Basic/Range.h"
|
||||
#include "swift/Demangling/Demangler.h"
|
||||
|
||||
Reference in New Issue
Block a user