[cfe-commits] r119287 - /cfe/trunk/tools/libclang/CIndex.cpp
Ted Kremenek
kremenek at apple.com
Mon Nov 15 15:11:54 PST 2010
Author: kremenek
Date: Mon Nov 15 17:11:54 2010
New Revision: 119287
URL: http://llvm.org/viewvc/llvm-project?rev=119287&view=rev
Log:
Use LLVM_ATTRIBUTE_NOINLINE instead of attribute((noinline)).
Modified:
cfe/trunk/tools/libclang/CIndex.cpp
Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=119287&r1=119286&r2=119287&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Mon Nov 15 17:11:54 2010
@@ -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 @@
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
More information about the cfe-commits
mailing list