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)
commit6d87ce8bd59a2b2e96fa418c4f5605cb8deda809
treefeea0fc5ed9e38160265cdecf4f40f6303ca5476
parent13491c4f24287f3a4f8e2c78aa6592291ab4e415
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.

llvm-svn: 220407
clang/lib/Basic/SanitizerBlacklist.cpp
clang/test/CodeGen/address-safety-attr.cpp