r198227 - Remove linkage macro from the CXLanguageKind enum
Reid Kleckner
reid at kleckner.net
Mon Dec 30 09:48:50 PST 2013
Author: rnk
Date: Mon Dec 30 11:48:49 2013
New Revision: 198227
URL: http://llvm.org/viewvc/llvm-project?rev=198227&view=rev
Log:
Remove linkage macro from the CXLanguageKind enum
Enums don't have linkage, so clang warns when this expands to dllimport.
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=198227&r1=198226&r2=198227&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Mon Dec 30 11:48:49 2013
@@ -2395,7 +2395,7 @@ clang_disposeCXPlatformAvailability(CXPl
/**
* \brief Describe the "language" of the entity referred to by a cursor.
*/
-CINDEX_LINKAGE enum CXLanguageKind {
+enum CXLanguageKind {
CXLanguage_Invalid = 0,
CXLanguage_C,
CXLanguage_ObjC,
More information about the cfe-commits
mailing list