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/Lex | |
| 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/Lex')
| -rw-r--r-- | clang/lib/Lex/Lexer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index c8b9a5d5420..f4a44324106 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -384,10 +384,10 @@ static inline bool isNumberBody(unsigned char c) { /// lexer buffer was all instantiated at a single point, perform the mapping. /// This is currently only used for _Pragma implementation, so it is the slow /// path of the hot getSourceLocation method. Do not allow it to be inlined. -static SourceLocation GetMappedTokenLoc(Preprocessor &PP, - SourceLocation FileLoc, - unsigned CharNo, - unsigned TokLen) DISABLE_INLINE; +static DISABLE_INLINE SourceLocation GetMappedTokenLoc(Preprocessor &PP, + SourceLocation FileLoc, + unsigned CharNo, + unsigned TokLen); static SourceLocation GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) { |

