]> granicus.if.org Git - clang/commit
fix PR3579: __LINE__ expands to the presumed location of the
authorChris Lattner <sabre@nondot.org>
Sun, 15 Feb 2009 21:06:39 +0000 (21:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Feb 2009 21:06:39 +0000 (21:06 +0000)
commit081927bbabf1b5c28ce695e93472f8bcd42b7c0d
tree217ecdc91f2321c13805c005ae3a12d9117c5073
parentc8fbd44eb02d2f3ca6810fe16632096f475c654a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64604 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPMacroExpansion.cpp