]> granicus.if.org Git - clang/commitdiff
[NFC, documentation] Prefer the term expansion instead of macro instantiation
authorFaisal Vali <faisalv@yahoo.com>
Sat, 22 Jul 2017 12:04:37 +0000 (12:04 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Sat, 22 Jul 2017 12:04:37 +0000 (12:04 +0000)
... in the few remaining places where this was not corrected.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308823 91177308-0d34-0410-b5e6-96231b3b80d8

docs/InternalsManual.rst

index dc89d123c0e9f16a153d7b94b36019b8507b25dc..61875297e366c6aa713721c029328186ad578e04 100644 (file)
@@ -493,11 +493,11 @@ source code of the program.  Important design points include:
 
 In practice, the ``SourceLocation`` works together with the ``SourceManager``
 class to encode two pieces of information about a location: its spelling
-location and its instantiation location.  For most tokens, these will be the
+location and its expansion location.  For most tokens, these will be the
 same.  However, for a macro expansion (or tokens that came from a ``_Pragma``
 directive) these will describe the location of the characters corresponding to
 the token and the location where the token was used (i.e., the macro
-instantiation point or the location of the ``_Pragma`` itself).
+expansion point or the location of the ``_Pragma`` itself).
 
 The Clang front-end inherently depends on the location of a token being tracked
 correctly.  If it is ever incorrect, the front-end may get confused and die.