Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit f69d06e

Browse files
committed
[NFC, documentation] Prefer the term expansion instead of macro instantiation
... 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
1 parent a50011f commit f69d06e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/InternalsManual.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -493,11 +493,11 @@ source code of the program. Important design points include:
493493

494494
In practice, the ``SourceLocation`` works together with the ``SourceManager``
495495
class to encode two pieces of information about a location: its spelling
496-
location and its instantiation location. For most tokens, these will be the
496+
location and its expansion location. For most tokens, these will be the
497497
same. However, for a macro expansion (or tokens that came from a ``_Pragma``
498498
directive) these will describe the location of the characters corresponding to
499499
the token and the location where the token was used (i.e., the macro
500-
instantiation point or the location of the ``_Pragma`` itself).
500+
expansion point or the location of the ``_Pragma`` itself).
501501

502502
The Clang front-end inherently depends on the location of a token being tracked
503503
correctly. If it is ever incorrect, the front-end may get confused and die.

0 commit comments

Comments
 (0)