summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-16 15:45:46 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-16 15:45:46 +0000
commitd1fb1f49a23ec980dcc6bda5fc2284b36f3a51a2 (patch)
treeb270b1fe461c11396a10ab127bf4d543fe811062 /clang/tools/libclang
parent1610d4704801eff54d2c396727b6056e32d67885 (diff)
downloadbcm5719-llvm-d1fb1f49a23ec980dcc6bda5fc2284b36f3a51a2.tar.gz
bcm5719-llvm-d1fb1f49a23ec980dcc6bda5fc2284b36f3a51a2.zip
MSVC doesn't like the noinline attribute at the end of a declaration. Try the other side.
llvm-svn: 119349
Diffstat (limited to 'clang/tools/libclang')
-rw-r--r--clang/tools/libclang/CIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index f344009948b..2c69f53d398 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud