diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-20 22:14:48 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-20 22:14:48 +0000 |
commit | de4e0a8e57e643bbe78ad37ad6023c45a8a9f7e2 (patch) | |
tree | 6cb7eb2ab77aba85de76d8f209c86c25e10be377 /lib/Serialization/ASTWriter.cpp | |
parent | cc6306e96782a8da2d818bfaca003645530ffd2f (diff) |
The location of the name in MacroDefinition is the beginning of its range,
don't store an extra location for it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | lib/Serialization/ASTWriter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Serialization/ASTWriter.cpp b/lib/Serialization/ASTWriter.cpp index 2aa1e6c4e3..f646c59ebd 100644 --- a/lib/Serialization/ASTWriter.cpp +++ b/lib/Serialization/ASTWriter.cpp @@ -1759,7 +1759,6 @@ void ASTWriter::WritePreprocessorDetail(PreprocessingRecord &PPRec) { AddSourceLocation(MD->getSourceRange().getBegin(), Record); AddSourceLocation(MD->getSourceRange().getEnd(), Record); AddIdentifierRef(MD->getName(), Record); - AddSourceLocation(MD->getLocation(), Record); Stream.EmitRecord(PPD_MACRO_DEFINITION, Record); continue; } |