projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1858c
)
Clang: separate the access-control diagnostics from other diagnostics that do not...
author
Douglas Gregor
<dgregor@apple.com>
Thu, 27 Jan 2011 21:06:17 +0000
(21:06 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Thu, 27 Jan 2011 21:06:17 +0000
(21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124440
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/ClangDiagnosticsEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/ClangDiagnosticsEmitter.cpp
b/utils/TableGen/ClangDiagnosticsEmitter.cpp
index dccf8fa42ba68c41d0849e4ef5c94ad5798c2400..9f076073eda7dc7a6f3f2b4260621a67d9417371 100644
(file)
--- a/
utils/TableGen/ClangDiagnosticsEmitter.cpp
+++ b/
utils/TableGen/ClangDiagnosticsEmitter.cpp
@@
-170,7
+170,13
@@
void ClangDiagsDefsEmitter::run(raw_ostream &OS) {
OS << ", true";
else
OS << ", false";
-
+
+ // Access control bit
+ if (R.getValueAsBit("AccessControl"))
+ OS << ", true";
+ else
+ OS << ", false";
+
// Category number.
OS << ", " << CategoryIDs.getID(getDiagnosticCategory(&R, DGParentMap));
OS << ")\n";