‘clang::tooling::JSONAnchorDest’ defined but not used [-Wunused-variable]
from gcc 5.1.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244312
91177308-0d34-0410-b5e6-
96231b3b80d8
// 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