summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/UndefinedAssignmentChecker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change *BugReport constructors to take StringRefs.Benjamin Kramer2009-11-141-1/+1
| | | | | | | | - Eliminates many calls to std::string.c_str() - Fixes an invalid read in ReturnStackAddressChecker due to an unsafe call to StringRef.data() which doesn't guarantee null-termination. llvm-svn: 88779
* Minor cleanup: use BuiltinBug (which will soon be renamed) for ↵Ted Kremenek2009-11-061-2/+1
| | | | | | DeferenceChecker and friends so that they always report the same bug type. llvm-svn: 86208
* Modify GRExprEngine::EvalBind() to take both a "store expression" andTed Kremenek2009-11-051-16/+17
| | | | | | | | an "assign expression", representing the expressions where the value binding occurs and the assignment takes place respectively. These are largely syntactic clues for better error reporting. llvm-svn: 86084
* Add FIXME.Ted Kremenek2009-11-041-0/+2
| | | | llvm-svn: 86004
* Catch uses of undefined values when they are used in assignment, thus ↵Ted Kremenek2009-11-041-0/+59
catching such bugs closer to the source. llvm-svn: 86003
OpenPOWER on IntegriCloud