aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-15 21:06:39 +0000
committerChris Lattner <sabre@nondot.org>2009-02-15 21:06:39 +0000
commit5a2e9cb42ddf050b281eceb5dade42adb669a8c9 (patch)
tree33c154a7ce49d73fb9946e9590e1a04e07ae725c /clang/lib/Basic/SourceManager.cpp
parent2edf0fcb7508dcca7389a7969cb7a93dfbdfbd50 (diff)
downloadllvm-5a2e9cb42ddf050b281eceb5dade42adb669a8c9.zip
llvm-5a2e9cb42ddf050b281eceb5dade42adb669a8c9.tar.gz
llvm-5a2e9cb42ddf050b281eceb5dade42adb669a8c9.tar.bz2
fix PR3579: __LINE__ expands to the presumed location of the
*end* of a macro instantiation, not the start of it. This is really all about bug-for-bug compatibility with GCC, but not doing this breaks the FreeBSD kernel. llvm-svn: 64604
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions