OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1ee83
)
Add output of the SFINAE bit for Clang's diagnostics
author
Douglas Gregor
<dgregor@apple.com>
Sun, 14 Jun 2009 07:24:49 +0000
(07:24 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Sun, 14 Jun 2009 07:24:49 +0000
(07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73331
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
919ae9b
..
a4a5698
100644
(file)
--- a/
utils/TableGen/ClangDiagnosticsEmitter.cpp
+++ b/
utils/TableGen/ClangDiagnosticsEmitter.cpp
@@
-65,6
+65,12
@@
void ClangDiagsDefsEmitter::run(std::ostream &OS) {
} else {
OS << ", 0";
}
+
+ // SFINAE bit
+ if (R.getValueAsBit("SFINAE"))
+ OS << ", true";
+ else
+ OS << ", false";
OS << ")\n";
}
}