]> granicus.if.org Git - clang/commit
[analyzer] Update GTestChecker to tighten API detection
authorDevin Coughlin <dcoughlin@apple.com>
Thu, 22 Dec 2016 17:52:57 +0000 (17:52 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Thu, 22 Dec 2016 17:52:57 +0000 (17:52 +0000)
commit3906da9a67fcde6e85c14239f7bacd8aaa0e332e
tree0c24a4523ef9e69b98543f929a01de640170a720
parent75940dca3962f2509266ca87886cbaf4ca7102b3
[analyzer] Update GTestChecker to tighten API detection

Update the GTestChecker to tighten up the API detection and make it
cleaner in response to post-commit feedback. Also add tests for when
temporary destructors are enabled to make sure we get the expected behavior
when inlining constructors for temporaries.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/GTestChecker.cpp
test/Analysis/gtest.cpp