Rework of r198404 to avoid changes in the build configuration.

llvm-svn: 198405
This commit is contained in:
Alexander Kornienko 2014-01-03 10:50:17 +00:00
parent 321b7d35e5
commit b045d8bc07
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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;