mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Clang: separate the access-control diagnostics from other diagnostics that do not have SFINAE behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c1858cf4a
commit
75f6e89ea9
@ -171,6 +171,12 @@ void ClangDiagsDefsEmitter::run(raw_ostream &OS) {
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user