summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCursor.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-14 08:20:46 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-14 08:20:46 +0000
commita88a221855f9d55f7e0e58105b05ab7e66462905 (patch)
tree36d631dd0450ae3efee0a607a7befbe5657f737a /clang/tools/libclang/CXCursor.h
parente2c09ebcaa9e51033d6554df53514d3c8b2dccba (diff)
downloadbcm5719-llvm-a88a221855f9d55f7e0e58105b05ab7e66462905.tar.gz
bcm5719-llvm-a88a221855f9d55f7e0e58105b05ab7e66462905.zip
Move the rest of the preprocessor terminology from 'instantiate' and
variants to 'expand'. This changed a couple of public APIs, including one public type "MacroInstantiation" which is now "MacroExpansion". The rest of the codebase was updated to reflect this, especially the libclang code. Two of the C++ (and thus easily changed) libclang APIs were updated as well because they pertained directly to the old MacroInstantiation class. No functionality changed. llvm-svn: 135139
Diffstat (limited to 'clang/tools/libclang/CXCursor.h')
-rw-r--r--clang/tools/libclang/CXCursor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/tools/libclang/CXCursor.h b/clang/tools/libclang/CXCursor.h
index 545ea8751b6..68d09e76c1c 100644
--- a/clang/tools/libclang/CXCursor.h
+++ b/clang/tools/libclang/CXCursor.h
@@ -31,7 +31,7 @@ class FieldDecl;
class InclusionDirective;
class LabelStmt;
class MacroDefinition;
-class MacroInstantiation;
+class MacroExpansion;
class NamedDecl;
class ObjCInterfaceDecl;
class ObjCProtocolDecl;
@@ -134,13 +134,13 @@ CXCursor MakeMacroDefinitionCursor(MacroDefinition *, CXTranslationUnit TU);
/// source range.
MacroDefinition *getCursorMacroDefinition(CXCursor C);
-/// \brief Create a macro instantiation cursor.
-CXCursor MakeMacroInstantiationCursor(MacroInstantiation *,
- CXTranslationUnit TU);
+/// \brief Create a macro expansion cursor.
+CXCursor MakeMacroExpansionCursor(MacroExpansion *,
+ CXTranslationUnit TU);
-/// \brief Unpack a given macro instantiation cursor to retrieve its
+/// \brief Unpack a given macro expansion cursor to retrieve its
/// source range.
-MacroInstantiation *getCursorMacroInstantiation(CXCursor C);
+MacroExpansion *getCursorMacroExpansion(CXCursor C);
/// \brief Create an inclusion directive cursor.
CXCursor MakeInclusionDirectiveCursor(InclusionDirective *,
OpenPOWER on IntegriCloud