[clang-tools-extra] r198405 - Rework of r198404 to avoid changes in the build configuration.

Alexander Kornienko alexfh at google.com
Fri Jan 3 02:50:17 PST 2014


Author: alexfh
Date: Fri Jan  3 04:50:17 2014
New Revision: 198405

URL: http://llvm.org/viewvc/llvm-project?rev=198405&view=rev
Log:
Rework of r198404 to avoid changes in the build configuration.

Modified:
    clang-tools-extra/trunk/clang-tidy/CMakeLists.txt
    clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp

Modified: clang-tools-extra/trunk/clang-tidy/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/CMakeLists.txt?rev=198405&r1=198404&r2=198405&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-tidy/CMakeLists.txt Fri Jan  3 04:50:17 2014
@@ -2,10 +2,6 @@ set(LLVM_LINK_COMPONENTS
   Support
   )
 
-# FIXME: Get rid of private headers in other modules.
-# It is hack to find "../../../lib/StaticAnalyzer".
-include_directories(${CLANG_SOURCE_DIR}/lib/StaticAnalyzer/Core)
-
 add_clang_library(clangTidy
   ClangTidy.cpp
   ClangTidyModule.cpp

Modified: clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp?rev=198405&r1=198404&r2=198405&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidy.cpp Fri Jan  3 04:50:17 2014
@@ -38,7 +38,7 @@
 #include <algorithm>
 #include <vector>
 // FIXME: Move AnalysisConsumer to include/clang/StaticAnalyzer/Frontend.
-#include "../../../lib/StaticAnalyzer/Frontend/AnalysisConsumer.h"
+#include "../lib/StaticAnalyzer/Frontend/AnalysisConsumer.h"
 
 using namespace clang::ast_matchers;
 using namespace clang::driver;





More information about the cfe-commits mailing list