projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
77c5b0d
)
Constify method to make VC++ happy. Patch by Brian Diekelman!
author
Ted Kremenek
<kremenek@apple.com>
Wed, 1 Apr 2009 18:24:22 +0000
(18:24 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Wed, 1 Apr 2009 18:24:22 +0000
(18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68222
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 3d353518e204b9f0a6f48db3de262d27574aee11..5364f596872e03fe1fa806ebc726009336e960a0 100644
(file)
--- a/
utils/TableGen/ClangDiagnosticsEmitter.cpp
+++ b/
utils/TableGen/ClangDiagnosticsEmitter.cpp
@@
-135,8
+135,8
@@
static const std::string &getOptName(const Record *R) {
namespace {
struct VISIBILITY_HIDDEN CompareOptName {
- bool operator()(const Record* A, const Record* B) {
- return getOptName(A) < getOptName(B);
+ bool operator()(const Record* A, const Record* B)
const
{
+ return getOptName(A) < getOptName(B);
}
};
}