diff options
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/AST/ASTContext.h | 2 | ||||
-rw-r--r-- | include/clang/AST/Decl.h | 2 | ||||
-rw-r--r-- | include/clang/AST/DeclObjC.h | 1 | ||||
-rw-r--r-- | include/clang/AST/Expr.h | 2 | ||||
-rw-r--r-- | include/clang/Basic/IdentifierTable.h (renamed from include/clang/Lex/IdentifierTable.h) | 9 | ||||
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 2 | ||||
-rw-r--r-- | include/clang/Parse/Action.h | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 3385ca8c22..494b28f9b1 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -14,7 +14,6 @@ #ifndef LLVM_CLANG_AST_ASTCONTEXT_H #define LLVM_CLANG_AST_ASTCONTEXT_H -#include "clang/Lex/IdentifierTable.h" // FIXME: Move IdentifierTable to Basic #include "clang/AST/Builtins.h" #include "clang/AST/Expr.h" #include "clang/AST/RecordLayout.h" @@ -26,6 +25,7 @@ namespace clang { class TargetInfo; + class IdentifierTable; /// ASTContext - This class holds long-lived AST nodes (such as types and /// decls) that can be referred to throughout the semantic analysis of a file. diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 748abb2782..e31c1e1c60 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -17,13 +17,13 @@ #include "clang/Basic/SourceLocation.h" #include "clang/AST/Type.h" #include "llvm/ADT/APSInt.h" -#include "clang/Lex/IdentifierTable.h" // FIXME: should be in Basic, not Lex. namespace clang { class Expr; class Stmt; class FunctionDecl; class AttributeList; +class IdentifierInfo; /// Decl - This represents one declaration (or definition), e.g. a variable, /// typedef, function, struct, etc. diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 62633fb62c..88da3a20a9 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -15,6 +15,7 @@ #define LLVM_CLANG_AST_DECLOBJC_H #include "clang/AST/Decl.h" +#include "clang/Basic/IdentifierTable.h" namespace clang { class Expr; diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index d260cb7193..650fce34e8 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -17,9 +17,9 @@ #include "clang/AST/Stmt.h" #include "clang/AST/Type.h" #include "clang/AST/Decl.h" +#include "clang/Basic/IdentifierTable.h" #include "llvm/ADT/APSInt.h" #include "llvm/ADT/APFloat.h" -#include "clang/Lex/IdentifierTable.h" // FIXME: should be in Basic, not Lex. namespace clang { class IdentifierInfo; diff --git a/include/clang/Lex/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index c8b9ddcd93..3272d2c2ee 100644 --- a/include/clang/Lex/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -7,15 +7,14 @@ // //===----------------------------------------------------------------------===// // -// This file defines the IdentifierInfo and IdentifierTable interfaces. +// This file defines the IdentifierInfo, IdentifierTable, and Selector +// interfaces. // //===----------------------------------------------------------------------===// -#ifndef LLVM_CLANG_LEX_IDENTIFIERTABLE_H -#define LLVM_CLANG_LEX_IDENTIFIERTABLE_H +#ifndef LLVM_CLANG_BASIC_IDENTIFIERTABLE_H +#define LLVM_CLANG_BASIC_IDENTIFIERTABLE_H -// FIXME: Move this header header/module to the "Basic" library. Unlike Lex, -// this data is long-lived. #include "clang/Basic/TokenKinds.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/SmallString.h" diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index d23d9ffaa5..5fbd1faac8 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -14,9 +14,9 @@ #ifndef LLVM_CLANG_LEX_PREPROCESSOR_H #define LLVM_CLANG_LEX_PREPROCESSOR_H -#include "clang/Lex/IdentifierTable.h" #include "clang/Lex/Lexer.h" #include "clang/Lex/MacroExpander.h" +#include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceLocation.h" #include "llvm/ADT/DenseMap.h" diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 204bd6cfb5..07b21f700c 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -14,9 +14,9 @@ #ifndef LLVM_CLANG_PARSE_ACTION_H #define LLVM_CLANG_PARSE_ACTION_H +#include "clang/Basic/IdentifierTable.h" #include "clang/Basic/SourceLocation.h" #include "clang/Basic/TokenKinds.h" -#include "clang/Lex/IdentifierTable.h" // FIXME: should be in Basic, not Lex. namespace clang { // Semantic. |