]> granicus.if.org Git - clang/commit
PR11002: Make sure we emit sentinel warnings with a valid source location. (Ideally...
authorEli Friedman <eli.friedman@gmail.com>
Tue, 27 Sep 2011 23:46:37 +0000 (23:46 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 27 Sep 2011 23:46:37 +0000 (23:46 +0000)
commit39834ba5a9a9e998cc542f683d0e6327b406f088
tree9b8fe0f6e1695b6e14c11a960c71d514ac7dac5d
parentd2ee809f9e7c2c7a83b8918efa11e98863463f78
PR11002: Make sure we emit sentinel warnings with a valid source location.  (Ideally, we want to use the location returned by getLocForEndOfToken, but that is not always successful.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140658 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/attr-sentinel.c