diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-08-07 10:15:15 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-08-07 10:15:15 +0000 |
commit | ae55b483d4cc8274e7880cea3ba4281bee124fba (patch) | |
tree | 2a2d04d4024aa2dea76786b1be5c00d41b61a375 /clang/lib/Tooling/CompilationDatabase.cpp | |
parent | b918a404c328e35ceb30c234d7e3514942f39538 (diff) | |
download | llvm-ae55b483d4cc8274e7880cea3ba4281bee124fba.zip llvm-ae55b483d4cc8274e7880cea3ba4281bee124fba.tar.gz llvm-ae55b483d4cc8274e7880cea3ba4281bee124fba.tar.bz2 |
Silence tools/clang/lib/Tooling/CompilationDatabase.cpp:328:12: warning:
‘clang::tooling::JSONAnchorDest’ defined but not used [-Wunused-variable]
from gcc 5.1.
llvm-svn: 244312
Diffstat (limited to 'clang/lib/Tooling/CompilationDatabase.cpp')
-rw-r--r-- | clang/lib/Tooling/CompilationDatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Tooling/CompilationDatabase.cpp b/clang/lib/Tooling/CompilationDatabase.cpp index 2272be6..f9de9ba 100644 --- a/clang/lib/Tooling/CompilationDatabase.cpp +++ b/clang/lib/Tooling/CompilationDatabase.cpp @@ -325,7 +325,7 @@ namespace tooling { // This anchor is used to force the linker to link in the generated object file // and thus register the JSONCompilationDatabasePlugin. extern volatile int JSONAnchorSource; -static int JSONAnchorDest = JSONAnchorSource; +int JSONAnchorDest = JSONAnchorSource; } // end namespace tooling } // end namespace clang |