[cfe-commits] r101287 - /cfe/trunk/include/clang-c/Index.h
Ted Kremenek
kremenek at apple.com
Wed Apr 14 13:58:33 PDT 2010
Author: kremenek
Date: Wed Apr 14 15:58:32 2010
New Revision: 101287
URL: http://llvm.org/viewvc/llvm-project?rev=101287&view=rev
Log:
Make CXLanguage_Invalid the first enum value (with '0' as its value) in CXLanguageKind.
Modified:
cfe/trunk/include/clang-c/Index.h
Modified: cfe/trunk/include/clang-c/Index.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=101287&r1=101286&r2=101287&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Wed Apr 14 15:58:32 2010
@@ -948,10 +948,10 @@
* \brief Describe the "language" of the entity referred to by a cursor.
*/
CINDEX_LINKAGE enum CXLanguageKind {
+ CXLanguage_Invalid = 0,
CXLanguage_C,
CXLanguage_ObjC,
- CXLanguage_CPlusPlus,
- CXLanguage_Invalid
+ CXLanguage_CPlusPlus
};
/**
More information about the cfe-commits
mailing list