Introduce a Macro AST type and use it to describe the macros we find

This commit is contained in:
Doug Gregor
2022-11-11 11:51:14 -08:00
parent b841523e4f
commit 16f81fbad5
8 changed files with 292 additions and 104 deletions

View File

@@ -4911,7 +4911,7 @@ public:
///
/// \returns The opened type of the macro with this name, or the null \c Type
/// if no such macro exists.
Type getTypeOfMacroReference(StringRef macro, Expr *anchor);
Type getTypeOfMacroReference(Identifier macroName, Expr *anchor);
#endif
/// Retrieve a list of generic parameter types solver has "opened" (replaced