diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-16 15:45:46 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-16 15:45:46 +0000 |
commit | e645c72d1eceb170cd157fc3c725ebf95a74c439 (patch) | |
tree | ca15bdd4730da223c616a58e20615bcdc15aef6a | |
parent | 8ad8a1cc1e39d70345d45ef1b8564ec6cbf49471 (diff) |
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
-rw-r--r-- | tools/libclang/CIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |