aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-11-15 23:11:54 +0000
committerTed Kremenek <kremenek@apple.com>2010-11-15 23:11:54 +0000
commit37f1ea0eb08a00fa90edbecb427cfbb50ca0f4d0 (patch)
treee7acbfc35e2228c4b2c429beb6f1d37539b578e2
parent08bb4c622d0b79c33b4ac78ce1bec79398953daa (diff)
Use LLVM_ATTRIBUTE_NOINLINE instead of attribute((noinline)).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119287 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/libclang/CIndex.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index 633b64ccc5..9962bd2151 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -42,6 +42,7 @@
#include "llvm/System/Program.h"
#include "llvm/System/Signals.h"
#include "llvm/System/Threading.h"
+#include "llvm/Support/Compiler.h"
using namespace clang;
using namespace clang::cxcursor;
@@ -328,7 +329,7 @@ public:
bool IsInRegionOfInterest(CXCursor C);
bool RunVisitorWorkList(VisitorWorkList &WL);
void EnqueueWorkList(VisitorWorkList &WL, Stmt *S);
- bool VisitDataRecursive(Stmt *S) __attribute__((noinline));
+ bool VisitDataRecursive(Stmt *S) LLVM_ATTRIBUTE_NOINLINE;
};
} // end anonymous namespace