MSVC doesn't like the noinline attribute at the end of a declaration. Try the other side.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119349 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index f344009..2c69f53 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -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