[PATCH] D48522: [analyzer] Highlight c_str() call in DanglingInternalBuffer checker
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 23 13:39:47 PDT 2018
xazax.hun added a comment.
Looks better, thanks!
================
Comment at: lib/StaticAnalyzer/Checkers/DanglingInternalBufferChecker.cpp:65
+ if (Entry.second == Sym)
+ Found = true;
+ }
----------------
Maybe early return here?
https://reviews.llvm.org/D48522
More information about the cfe-commits
mailing list