From: Benjamin Kramer Date: Tue, 16 Nov 2010 15:45:46 +0000 (+0000) Subject: MSVC doesn't like the noinline attribute at the end of a declaration. Try the other... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e645c72d1eceb170cd157fc3c725ebf95a74c439;p=clang 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 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