]> granicus.if.org Git - clang/commitdiff
Fix layering violation by moving Analysis/CallGraph to Index
authorDaniel Dunbar <daniel@zuster.org>
Thu, 3 Dec 2009 07:20:04 +0000 (07:20 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 3 Dec 2009 07:20:04 +0000 (07:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90424 91177308-0d34-0410-b5e6-96231b3b80d8

examples/wpa/clang-wpa.cpp
include/clang/Index/CallGraph.h [moved from include/clang/Analysis/CallGraph.h with 100% similarity]
lib/Index/CallGraph.cpp [moved from lib/Analysis/CallGraph.cpp with 99% similarity]

index a0182c17889d2e6a8765bc89175c45bf49e08058..cca7907ba0978dcbe157c1b967ae1b93b14adf02 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#include "clang/Analysis/CallGraph.h"
-#include "clang/Frontend/ASTUnit.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/SourceManager.h"
+#include "clang/Frontend/ASTUnit.h"
 #include "clang/Frontend/CompilerInstance.h"
+#include "clang/Index/CallGraph.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/raw_ostream.h"
 using namespace clang;
similarity index 99%
rename from lib/Analysis/CallGraph.cpp
rename to lib/Index/CallGraph.cpp
index c1040f0c99492247822b8ca0efa4c3ae12445531..6403319de1f03a3403dd53e939db43ee9cf834c0 100644 (file)
@@ -11,7 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "clang/Analysis/CallGraph.h"
+#include "clang/Index/CallGraph.h"
 
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/StmtVisitor.h"