Daniel's comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84484
91177308-0d34-0410-b5e6-
96231b3b80d8
void setOnlyLocalDecls(bool Local = true) { OnlyLocalDecls = Local; }
/// \brief Get the path of the clang binary.
- static const llvm::sys::Path& getClangPath();
+ const llvm::sys::Path& getClangPath();
private:
bool OnlyLocalDecls;
- static llvm::sys::Path ClangPath;
+ llvm::sys::Path ClangPath;
};
-llvm::sys::Path CIndexer::ClangPath;
-
const llvm::sys::Path& CIndexer::getClangPath() {
// Did we already compute the path?
if (!ClangPath.empty())