From 5e738284d73dbbf80f706a9ad5cadbaf7e208cf2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 14 Nov 2009 16:36:57 +0000 Subject: Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by Amine Khaldi! llvm-svn: 88797 --- clang/lib/Basic/SourceManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Basic/SourceManager.cpp') diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index 962cb4c4..a85bef0 100644 --- a/clang/lib/Basic/SourceManager.cpp +++ b/clang/lib/Basic/SourceManager.cpp @@ -715,8 +715,8 @@ unsigned SourceManager::getInstantiationColumnNumber(SourceLocation Loc) const { -static void ComputeLineNumbers(ContentCache* FI, - llvm::BumpPtrAllocator &Alloc) DISABLE_INLINE; +static DISABLE_INLINE void ComputeLineNumbers(ContentCache* FI, + llvm::BumpPtrAllocator &Alloc); static void ComputeLineNumbers(ContentCache* FI, llvm::BumpPtrAllocator &Alloc){ // Note that calling 'getBuffer()' may lazily page in the file. const MemoryBuffer *Buffer = FI->getBuffer(); -- cgit v1.1