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 | c997eb4ac1b332406b1f16d4eddce7988d68c56b (patch) | |
tree | 56f7b57a212dbdb5330cb565c890d46d02a6622c /lib/Basic/SourceManager.cpp | |
parent | c7a05bdff8c52990d0987ceefad33166fe2fd2cc (diff) | |
download | clang-c997eb4ac1b332406b1f16d4eddce7988d68c56b.tar.gz |
Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by Amine Khaldi!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
-rw-r--r-- | lib/Basic/SourceManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index 962cb4c42a..a85bef0f29 100644 --- a/lib/Basic/SourceManager.cpp +++ b/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(); |