search for: compareoptname

Displaying 1 result from an estimated 1 matches for "compareoptname".

2009 Apr 01
1
[LLVMdev] Visual Studio 2005/2008 ClangDiagnosticsEmitter Patch
...to compile: Index: TableGen/ClangDiagnosticsEmitter.cpp =================================================================== --- TableGen/ClangDiagnosticsEmitter.cpp (revision 68202) +++ TableGen/ClangDiagnosticsEmitter.cpp (working copy) @@ -135,7 +135,7 @@ namespace { struct VISIBILITY_HIDDEN CompareOptName { - bool operator()(const Record* A, const Record* B) { + bool operator()(const Record* A, const Record* B) const { return getOptName(A) < getOptName(B); } };