From e645c72d1eceb170cd157fc3c725ebf95a74c439 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 16 Nov 2010 15:45:46 +0000 Subject: [PATCH] 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 --- tools/libclang/CIndex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index f344009948..2c69f53d39 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -355,7 +355,7 @@ public: 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 -- 2.40.0