Author: d0k
Date: Tue Nov 16 09:45:46 2010
New Revision: 119349
URL: http://llvm.org/viewvc/llvm-project?rev=119349&view=rev
Log:
MSVC doesn't like the noinline attribute at the end of a declaration. Try the
other side.
Modified:
cfe/trunk/tools/libclang/CIndex.cpp
Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=119349&r1=119348&r2=119349&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Tue Nov 16 09:45:46 2010
@@ -355,7 +355,7 @@
bool IsInRegionOfInterest(CXCursor C);
bool RunVisitorWorkList(VisitorWorkList &WL);
void EnqueueWorkList(VisitorWorkList &WL, Stmt *S);
- bool VisitDataRecursive(Stmt *S) LLVM_ATTRIBUTE_NOINLINE;
+ LLVM_ATTRIBUTE_NOINLINE bool VisitDataRecursive(Stmt *S);
};
} // end anonymous namespace
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits