[cfe-commits] r121321 - /cfe/trunk/tools/libclang/CXCursor.cpp
Ted Kremenek
kremenek at apple.com
Wed Dec 8 16:01:52 PST 2010
Author: kremenek
Date: Wed Dec 8 18:01:52 2010
New Revision: 121321
URL: http://llvm.org/viewvc/llvm-project?rev=121321&view=rev
Log:
DenseMapInfo is a 'struct', not a 'class'.
Modified:
cfe/trunk/tools/libclang/CXCursor.cpp
Modified: cfe/trunk/tools/libclang/CXCursor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CXCursor.cpp?rev=121321&r1=121320&r2=121321&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CXCursor.cpp (original)
+++ cfe/trunk/tools/libclang/CXCursor.cpp Wed Dec 8 18:01:52 2010
@@ -506,7 +506,7 @@
return (CXCursorSet_Impl*) set;
}
namespace llvm {
-template<> class llvm::DenseMapInfo<CXCursor> {
+template<> struct llvm::DenseMapInfo<CXCursor> {
public:
static inline CXCursor getEmptyKey() {
return MakeCXCursorInvalid(CXCursor_InvalidFile);
More information about the cfe-commits
mailing list