diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-10 14:03:13 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-10 14:03:27 +0100 |
commit | 1df85dd4e94e0693b161eda4bc007379303110da (patch) | |
tree | 86e859d7943c742e5de229bf63d4854bd101de82 | |
parent | af93311a8c21413875c16cfaf920ae2586b59b84 (diff) | |
download | llvm-1df85dd4e94e0693b161eda4bc007379303110da.zip llvm-1df85dd4e94e0693b161eda4bc007379303110da.tar.gz llvm-1df85dd4e94e0693b161eda4bc007379303110da.tar.bz2 |
Mangler.h - reduce GlobalValue.h include to forward declaration. NFC.
Exposes implicit dependency in ModuleSymbolTable.h - added missing Module forward declaration.
-rw-r--r-- | llvm/include/llvm/IR/Mangler.h | 2 | ||||
-rw-r--r-- | llvm/include/llvm/Object/ModuleSymbolTable.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Mangler.h b/llvm/include/llvm/IR/Mangler.h index e4a05ab..747a408 100644 --- a/llvm/include/llvm/IR/Mangler.h +++ b/llvm/include/llvm/IR/Mangler.h @@ -14,11 +14,11 @@ #define LLVM_IR_MANGLER_H #include "llvm/ADT/DenseMap.h" -#include "llvm/IR/GlobalValue.h" namespace llvm { class DataLayout; +class GlobalValue; template <typename T> class SmallVectorImpl; class Triple; class Twine; diff --git a/llvm/include/llvm/Object/ModuleSymbolTable.h b/llvm/include/llvm/Object/ModuleSymbolTable.h index 4c582fb..1134b98 100644 --- a/llvm/include/llvm/Object/ModuleSymbolTable.h +++ b/llvm/include/llvm/Object/ModuleSymbolTable.h @@ -28,6 +28,7 @@ namespace llvm { class GlobalValue; +class Module; class ModuleSymbolTable { public: |