diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 05:17:23 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 05:17:23 +0000 |
commit | 3201f382956ed9beee9fb31229c2835c1208889c (patch) | |
tree | 0263e25d31d2c692c38d301793e2cb05bef73262 /include/clang/Basic/SourceLocation.h | |
parent | 1728762d5a8cfaf8d64385f47b311e84de1ae7a2 (diff) |
Clean up as many of the comments in Basic I can find to talk in terms of
'expansion' rather than 'instantiation' for macro source locations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceLocation.h')
-rw-r--r-- | include/clang/Basic/SourceLocation.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h index e578b4cd7e..f3b5f26649 100644 --- a/include/clang/Basic/SourceLocation.h +++ b/include/clang/Basic/SourceLocation.h @@ -71,14 +71,14 @@ private: /// /// Technically, a source location is simply an offset into the manager's view /// of the input source, which is all input buffers (including macro -/// instantiations) concatenated in an effectively arbitrary order. The manager -/// actually maintains two blocks of input buffers. One, starting at offset 0 -/// and growing upwards, contains all buffers from this module. The other, +/// expansions) concatenated in an effectively arbitrary order. The manager +/// actually maintains two blocks of input buffers. One, starting at offset +/// 0 and growing upwards, contains all buffers from this module. The other, /// starting at the highest possible offset and growing downwards, contains /// buffers of loaded modules. /// /// In addition, one bit of SourceLocation is used for quick access to the -/// information whether the location is in a file or a macro instantiation. +/// information whether the location is in a file or a macro expansion. /// /// It is important that this type remains small. It is currently 32 bits wide. class SourceLocation { @@ -339,8 +339,8 @@ public: /// PresumedLoc - This class represents an unpacked "presumed" location which /// can be presented to the user. A 'presumed' location can be modified by -/// #line and GNU line marker directives and is always the instantiation point -/// of a normal location. +/// #line and GNU line marker directives and is always the expansion point of +/// a normal location. /// /// You can get a PresumedLoc from a SourceLocation with SourceManager. class PresumedLoc { |