Hello!

This is a small cleanup of some redundant #include's in ASTTypeTraits.h.

No change in behaviour is intended. I just want to cleanup.

The code compiles and all tests pass. However I believe there could be a danger 
with this change. There could be some "preprocessor magic". I assume that these 
headers were included because some types/variables/etc were needed.

Best regards,
Daniel Marjamäki


..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB  Warfvinges väg 34  SE-112 51 Stockholm  Sweden

Mobile:                 +46 (0)709 12 42 62
E-mail:                 
Daniel.Marjamaki<mailto:[email protected]>@evidente.se<mailto:[email protected]>

www.evidente.se
Index: include/clang/AST/ASTTypeTraits.h
===================================================================
--- include/clang/AST/ASTTypeTraits.h	(revision 193166)
+++ include/clang/AST/ASTTypeTraits.h	(arbetskopia)
@@ -17,13 +17,7 @@
 #define LLVM_CLANG_AST_AST_TYPE_TRAITS_H
 
 #include "clang/AST/ASTFwd.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/Stmt.h"
-#include "clang/AST/TemplateBase.h"
 #include "clang/AST/TypeLoc.h"
-#include "clang/Basic/LLVM.h"
-#include "llvm/Support/AlignOf.h"
 
 namespace clang {
 namespace ast_type_traits {
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to