[llvm-branch-commits] [cfe-branch] r119649 - /cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp

Daniel Dunbar daniel at zuster.org
Wed Nov 17 18:37:30 PST 2010


Author: ddunbar
Date: Wed Nov 17 20:37:30 2010
New Revision: 119649

URL: http://llvm.org/viewvc/llvm-project?rev=119649&view=rev
Log:
Merge r119287:
--
Author: Ted Kremenek <kremenek at apple.com>
Date:   Mon Nov 15 23:11:54 2010 +0000

    Use LLVM_ATTRIBUTE_NOINLINE instead of attribute((noinline)).

Modified:
    cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp

Modified: cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp?rev=119649&r1=119648&r2=119649&view=diff
==============================================================================
--- cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp (original)
+++ cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp Wed Nov 17 20:37:30 2010
@@ -43,6 +43,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;
@@ -342,7 +343,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 llvm-branch-commits mailing list