summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-05-04 02:25:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-05-04 02:25:31 +0000
commit66a8186ed415f4f385ea28201ac87b0350d92714 (patch)
tree1a216031d7df787c8732a073ef6bd7de622a519b /clang/lib/Index
parent949d55d87ac6675023893b3ca5aa95a6cd277920 (diff)
downloadbcm5719-llvm-66a8186ed415f4f385ea28201ac87b0350d92714.tar.gz
bcm5719-llvm-66a8186ed415f4f385ea28201ac87b0350d92714.zip
Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition.
clang::MacroDefinition now models the currently-defined value of a macro. The previous MacroDefinition type, which represented a record of a macro definition directive for a detailed preprocessing record, is now called MacroDefinitionRecord. llvm-svn: 236400
Diffstat (limited to 'clang/lib/Index')
-rw-r--r--clang/lib/Index/USRGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp
index baa166ee280..8cdd283ba5c 100644
--- a/clang/lib/Index/USRGeneration.cpp
+++ b/clang/lib/Index/USRGeneration.cpp
@@ -847,7 +847,7 @@ bool clang::index::generateUSRForDecl(const Decl *D,
return UG.ignoreResults();
}
-bool clang::index::generateUSRForMacro(const MacroDefinition *MD,
+bool clang::index::generateUSRForMacro(const MacroDefinitionRecord *MD,
const SourceManager &SM,
SmallVectorImpl<char> &Buf) {
// Don't generate USRs for things with invalid locations.
OpenPOWER on IntegriCloud