[cfe-commits] r140578 - /cfe/trunk/lib/Serialization/ASTReader.cpp
Argyrios Kyrtzidis
akyrtzi at gmail.com
Mon Sep 26 16:06:41 PDT 2011
Author: akirtzidis
Date: Mon Sep 26 18:06:41 2011
New Revision: 140578
URL: http://llvm.org/viewvc/llvm-project?rev=140578&view=rev
Log:
Add a comment in ASTReader::ReadPragmaDiagnosticMappings that the user bit
is set by the setDiagnosticMapping call.
Modified:
cfe/trunk/lib/Serialization/ASTReader.cpp
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=140578&r1=140577&r2=140578&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Mon Sep 26 18:06:41 2011
@@ -3090,6 +3090,7 @@
break; // no more diag/map pairs for this location.
}
diag::Mapping Map = (diag::Mapping)F.PragmaDiagMappings[Idx++];
+ // The user bit gets set by WritePragmaDiagnosticMappings.
Diag.setDiagnosticMapping(DiagID, Map, Loc);
}
}
More information about the cfe-commits
mailing list