diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-14 16:36:57 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-14 16:36:57 +0000 |
commit | 5e738284d73dbbf80f706a9ad5cadbaf7e208cf2 (patch) | |
tree | 6f83b4923cc96a1d35b1454c760db312d9e0a67c /clang/lib/Basic | |
parent | 1acec6a41a76f84c2a5f0ecb411da60b97ad674e (diff) | |
download | bcm5719-llvm-5e738284d73dbbf80f706a9ad5cadbaf7e208cf2.tar.gz bcm5719-llvm-5e738284d73dbbf80f706a9ad5cadbaf7e208cf2.zip |
Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by Amine Khaldi!
llvm-svn: 88797
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r-- | clang/lib/Basic/SourceManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index 962cb4c42a8..a85bef0f29e 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(); |