]> granicus.if.org Git - clang/commit
Fixup for r220403: Use getFileLoc() instead of getSpellingLoc() in SanitizerBlacklist.
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 22 Oct 2014 19:34:25 +0000 (19:34 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 22 Oct 2014 19:34:25 +0000 (19:34 +0000)
commit29a9d8983a40ed62ee11a6acf2acda6c5cfe2748
tree62d06d2480fd2eeef3b509f9eb1321d309404403
parentf3f44c370b79a67d152d720f334c435631e59adf
Fixup for r220403: Use getFileLoc() instead of getSpellingLoc() in SanitizerBlacklist.

This also handles the case where function name (not its body)
is obtained from macro expansion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220407 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/SanitizerBlacklist.cpp
test/CodeGen/address-safety-attr.cpp