diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-08-05 12:23:39 +0000 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-08-05 12:23:39 +0000 |
| commit | 58f099173668ea0d046afa06eb648dc3ef259872 (patch) | |
| tree | 3526597c01f5f312356dc742e810e6bb8a0be832 /clang/lib | |
| parent | be60f97d23a505414e46cd30ea45a4955d7a2a17 (diff) | |
| download | bcm5719-llvm-58f099173668ea0d046afa06eb648dc3ef259872.tar.gz bcm5719-llvm-58f099173668ea0d046afa06eb648dc3ef259872.zip | |
[clang][NFC] Remove unused private variable 'CI' in CrossTranslationUnit.h
It seems because of the recent refactorings this variable has become unused
and now we get this warning in the build logs:
In file included from llvm/clang/lib/CrossTU/CrossTranslationUnit.cpp:12:
llvm/clang/include/clang/CrossTU/CrossTranslationUnit.h:200:21: warning: private field 'CI' is not used [-Wunused-private-field]
CompilerInstance &CI;
^
I'll remove them for now to get the builds back to green.
llvm-svn: 367840
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CrossTU/CrossTranslationUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CrossTU/CrossTranslationUnit.cpp b/clang/lib/CrossTU/CrossTranslationUnit.cpp index 512778de56f..f43180a2a27 100644 --- a/clang/lib/CrossTU/CrossTranslationUnit.cpp +++ b/clang/lib/CrossTU/CrossTranslationUnit.cpp @@ -188,7 +188,7 @@ template <typename T> static bool hasBodyOrInit(const T *D) { } CrossTranslationUnitContext::CrossTranslationUnitContext(CompilerInstance &CI) - : CI(CI), Context(CI.getASTContext()), ASTStorage(CI), + : Context(CI.getASTContext()), ASTStorage(CI), CTULoadThreshold(CI.getAnalyzerOpts()->CTUImportThreshold) {} CrossTranslationUnitContext::~CrossTranslationUnitContext() {} |

