Fix include path in ClangTidy.cpp.
authorStephen Hines <srhines@google.com>
Thu, 28 Apr 2016 01:42:12 +0000 (01:42 +0000)
committerStephen Hines <srhines@google.com>
Thu, 28 Apr 2016 01:42:12 +0000 (01:42 +0000)
Summary:
https://llvm.org/bugs/show_bug.cgi?id=27355
To compile with other binary output directory structures in build systems like Android.

Reviewers: srhines, alexfh

Subscribers: tberghammer, danalbert, cfe-commits

Differential Revision: http://reviews.llvm.org/D19249

llvm-svn: 267835

clang-tools-extra/clang-tidy/ClangTidy.cpp

index ac1859f..95ea0eb 100644 (file)
@@ -58,7 +58,7 @@ static const StringRef StaticAnalyzerChecks[] = {
 #define GET_CHECKERS
 #define CHECKER(FULLNAME, CLASS, DESCFILE, HELPTEXT, GROUPINDEX, HIDDEN)       \
   FULLNAME,
-#include "../../../lib/StaticAnalyzer/Checkers/Checkers.inc"
+#include "clang/StaticAnalyzer/Checkers/Checkers.inc"
 #undef CHECKER
 #undef GET_CHECKERS
 };