[llvm-branch-commits] [cfe-branch] r73498 - in /cfe/branches/Apple/Dib: include/clang/AST/Builtins.h lib/AST/Builtins.cpp

Daniel Dunbar daniel at zuster.org
Tue Jun 16 09:41:06 PDT 2009


Author: ddunbar
Date: Tue Jun 16 11:41:05 2009
New Revision: 73498

URL: http://llvm.org/viewvc/llvm-project?rev=73498&view=rev
Log:
Merge in 73317 (<rdar://problem/6954018>):

------------------------------------------------------------------------
r73317 | lattner | 2009-06-13 17:52:07 -0700 (Sat, 13 Jun 2009) | 2 lines

prune #includes, Builtins.h/cpp no longer depends on libast.

------------------------------------------------------------------------

Modified:
    cfe/branches/Apple/Dib/include/clang/AST/Builtins.h
    cfe/branches/Apple/Dib/lib/AST/Builtins.cpp

Modified: cfe/branches/Apple/Dib/include/clang/AST/Builtins.h
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/include/clang/AST/Builtins.h?rev=73498&r1=73497&r2=73498&view=diff

==============================================================================
--- cfe/branches/Apple/Dib/include/clang/AST/Builtins.h (original)
+++ cfe/branches/Apple/Dib/include/clang/AST/Builtins.h Tue Jun 16 11:41:05 2009
@@ -16,8 +16,10 @@
 #define LLVM_CLANG_AST_BUILTINS_H
 
 #include <cstring>
-#include <string>
-#include "llvm/ADT/SmallVector.h"
+
+namespace llvm {
+  template <typename T> class SmallVectorImpl;
+}
 
 namespace clang {
   class TargetInfo;

Modified: cfe/branches/Apple/Dib/lib/AST/Builtins.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/AST/Builtins.cpp?rev=73498&r1=73497&r2=73498&view=diff

==============================================================================
--- cfe/branches/Apple/Dib/lib/AST/Builtins.cpp (original)
+++ cfe/branches/Apple/Dib/lib/AST/Builtins.cpp Tue Jun 16 11:41:05 2009
@@ -12,8 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "clang/AST/Builtins.h"
-#include "clang/AST/ASTContext.h"
-#include "clang/AST/Decl.h"
 #include "clang/Basic/IdentifierTable.h"
 #include "clang/Basic/TargetInfo.h"
 using namespace clang;





More information about the llvm-branch-commits mailing list