summaryrefslogtreecommitdiff
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-10 09:31:37 +0000
committerAlp Toker <alp@nuanti.com>2014-06-10 09:31:37 +0000
commitc726c367f4fe33e4671d8695bfcc1b7b1bb0d112 (patch)
treec1b797ecdd2a08c38e9047dd62464a155ad9f5a0 /clang/lib/Lex
parent48eccb7fb3ff8b38e3b9e4045588f16829d86a4f (diff)
downloadllvm-c726c367f4fe33e4671d8695bfcc1b7b1bb0d112.tar.gz
Improve diagnostic mapping terminology
Diagnostic mappings are used to calculate the final severity of diagnostic instances. Detangle the implementation to reflect the terminology used in documentation and bindings. No change in functionality. llvm-svn: 210518
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/Pragma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp
index b837fc5ef7c0..ea3a10d53691 100644
--- a/clang/lib/Lex/Pragma.cpp
+++ b/clang/lib/Lex/Pragma.cpp
@@ -954,7 +954,7 @@ public:
IdentifierInfo *II = Tok.getIdentifierInfo();
PPCallbacks *Callbacks = PP.getPPCallbacks();
- diag::Mapping Map;
+ diag::Severity Map;
if (II->isStr("warning"))
Map = diag::MAP_WARNING;
else if (II->isStr("error"))