]> granicus.if.org Git - clang/commit
Small refactoring in CheckerContext::isCLibraryFunction(). NFC.
authorDevin Coughlin <dcoughlin@apple.com>
Mon, 28 Dec 2015 21:47:51 +0000 (21:47 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Mon, 28 Dec 2015 21:47:51 +0000 (21:47 +0000)
commit5669e0e37db396f468243c6c4ffda1cc07110ead
treefd609864cbcf0979b494cd16884bd6249aa39a14
parentef1c7e3faf0dbe3fc079c3b48dfd5c934bb348a7
Small refactoring in CheckerContext::isCLibraryFunction(). NFC.

Use getRedeclContext() instead of a manually-written loop and fix a comment.

A patch by Aleksei Sidorin!

Differential Revision: http://reviews.llvm.org/D15794

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/CheckerContext.cpp