summaryrefslogtreecommitdiff
path: root/test/Analysis/cxx-crashes.cpp
Commit message (Collapse)AuthorAge
* clang/test: [PR8833] Introduce the feature "LP64" to suppress ↵NAKAMURA Takumi2012-09-12
| | | | | | | | LLP64-incompatible tests. I think some of them could be rewritten to fit also LLP64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163699 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Array CompoundLiteralExprs need to be treated like lvalues.Jordan Rose2012-06-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158588 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Return an UnknownVal when we try to get the binding for a VLA.Jordan Rose2012-06-16
| | | | | | | | | This happens in C++ mode right at the declaration of a struct VLA; MallocChecker sees a bind and tries to get see if it's an escaping bind. It's likely that our handling of this is still incomplete, but it fixes a crash on valid without disturbing anything else for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158587 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't add a symbolic region for 'this' if the member function is static.Anders Carlsson2011-03-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128340 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Remove '-analyzer-check-objc-mem' flag, the nominee for best ↵Argyrios Kyrtzidis2011-02-28
| | | | | | misnomer award. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126676 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Fix crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126025 91177308-0d34-0410-b5e6-96231b3b80d8
* Warn about code that uses variables and functions with internal linkageJohn McCall2011-02-19
| | | | | | | | | | | | | | | | without defining them. This should be an error, but I'm paranoid about "uses" that end up not actually requiring a definition. I'll revisit later. Also, teach IR generation to not set internal linkage on variable declarations, just for safety's sake. Doing so produces an invalid module if the variable is not ultimately defined. Also, fix several places in the test suite where we were using internal functions without definitions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126016 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Fix crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126013 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Fix crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126007 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Fix crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125963 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Fix a crash when analyzing C++ code.Argyrios Kyrtzidis2011-02-18
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125958 91177308-0d34-0410-b5e6-96231b3b80d8