summaryrefslogtreecommitdiffstats
path: root/clang/tools/CIndex/CXCursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/CIndex/CXCursor.h')
-rw-r--r--clang/tools/CIndex/CXCursor.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/clang/tools/CIndex/CXCursor.h b/clang/tools/CIndex/CXCursor.h
index aa5d4f3a398..12103b6d7b3 100644
--- a/clang/tools/CIndex/CXCursor.h
+++ b/clang/tools/CIndex/CXCursor.h
@@ -78,7 +78,14 @@ CXCursor MakePreprocessingDirectiveCursor(SourceRange Range, ASTUnit *TU);
/// \brief Unpack a given preprocessing directive to retrieve its source range.
SourceRange getCursorPreprocessingDirective(CXCursor C);
-
+
+/// \brief Create a macro instantiation cursor.
+CXCursor MakeMacroInstantiationCursor(SourceRange Range, ASTUnit *TU);
+
+/// \brief Unpack a given macro instantiation cursor to retrieve its
+/// source range.
+SourceRange getCursorMacroInstantiation(CXCursor C);
+
Decl *getCursorDecl(CXCursor Cursor);
Expr *getCursorExpr(CXCursor Cursor);
Stmt *getCursorStmt(CXCursor Cursor);
OpenPOWER on IntegriCloud