diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-27 23:12:39 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-27 23:12:39 +0000 |
| commit | 5bfe034ecc51dda1af94f3861a3e545d93522ab4 (patch) | |
| tree | f23bb5ab60bd39c1987bff7309434e85c94d04fd /clang | |
| parent | cc6458890d3b769047b656aafca11e4695a795dd (diff) | |
| download | bcm5719-llvm-5bfe034ecc51dda1af94f3861a3e545d93522ab4.tar.gz bcm5719-llvm-5bfe034ecc51dda1af94f3861a3e545d93522ab4.zip | |
Comment and move another ASTReader member.
llvm-svn: 112319
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Serialization/ASTReader.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/clang/include/clang/Serialization/ASTReader.h b/clang/include/clang/Serialization/ASTReader.h index d89a819923c..d31be88a3e3 100644 --- a/clang/include/clang/Serialization/ASTReader.h +++ b/clang/include/clang/Serialization/ASTReader.h @@ -485,6 +485,11 @@ private: /// Sema tracks a few important decls, such as namespace std, directly. llvm::SmallVector<uint64_t, 4> SemaDeclRefs; + /// \brief The IDs of the types ASTContext stores directly. + /// + /// The AST context tracks a few important types, such as va_list, directly. + llvm::SmallVector<uint64_t, 16> SpecialTypes; + //@} /// \brief The original file name that was used to build the primary AST file, @@ -507,9 +512,15 @@ private: bool DisableValidation; /// \brief Mapping from switch-case IDs in the chain to switch-case statements + /// + /// Statements usually don't have IDs, but switch cases need them, so that the + /// switch statement can refer to them. std::map<unsigned, SwitchCase *> SwitchCaseStmts; /// \brief Mapping from label statement IDs in the chain to label statements. + /// + /// Statements usually don't have IDs, but labeled statements need them, so + /// that goto statements and address-of-label expressions can refer to them. std::map<unsigned, LabelStmt *> LabelStmts; /// \brief Mapping from label IDs to the set of "goto" statements @@ -583,9 +594,6 @@ private: /// loaded once the recursive loading has completed. std::deque<PendingIdentifierInfo> PendingIdentifierInfos; - /// \brief FIXME: document! - llvm::SmallVector<uint64_t, 16> SpecialTypes; - /// \brief Contains declarations and definitions that will be /// "interesting" to the ASTConsumer, when we get that AST consumer. /// |

