- Aug 17, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 162042
-
Johnny Chen authored
llvm-svn: 162040
-
Roman Divacky authored
llvm-svn: 162039
-
Chad Rosier authored
llvm-svn: 162038
-
Roman Divacky authored
llvm-svn: 162037
-
Fariborz Jahanian authored
expressions except to void, void * and their qualified versions. // rdar://12107381 llvm-svn: 162036
-
Roman Divacky authored
llvm-svn: 162035
-
Roman Divacky authored
llvm-svn: 162034
-
Dmitri Gribenko authored
declaration it was attached to. llvm-svn: 162033
-
Roman Divacky authored
llvm-svn: 162032
-
Marshall Clow authored
Fixed some renaming detritus in the comments, and an unused variable warning. Thanks to David Blaikie and Manuel Klimek for the comments llvm-svn: 162031
-
Ted Kremenek authored
llvm-svn: 162030
-
Ted Kremenek authored
Remove "range_iterator" from PathDiagnosticPiece and just use ArrayRef<SourceRange> for ranges. This removes conceptual clutter, and can allow us to easy migrate to C++11 style for-range loops if we ever move to using C++11 in Clang. llvm-svn: 162029
-
Ted Kremenek authored
This fixes several issues: - removes egregious hack where PlistDiagnosticConsumer would forward to HTMLDiagnosticConsumer, but diagnostics wouldn't be generated consistently in the same way if PlistDiagnosticConsumer was used by itself. - emitting diagnostics to the terminal (using clang's diagnostic machinery) is no longer a special case, just another PathDiagnosticConsumer. This also magically resolved some duplicate warnings, as we now use PathDiagnosticConsumer's diagnostic pruning, which has scope for the entire translation unit, not just the scope of a BugReporter (which is limited to a particular ExprEngine). As an interesting side-effect, diagnostics emitted to the terminal also have their trailing "." stripped, just like with diagnostics emitted to plists and HTML. This required some tests to be updated, but now the tests have higher fidelity with what users will see. There are some inefficiencies in this patch. We currently generate the report graph (from the ExplodedGraph) once per PathDiagnosticConsumer, which is a bit wasteful, but that could be pulled up higher in the logic stack. There is some intended duplication, however, as we now generate different PathDiagnostics (for the same issue) for different PathDiagnosticConsumers. This is necessary to produce the diagnostics that a particular consumer expects. llvm-svn: 162028
-
Sam Panzer authored
Matchers related to DeclStmt for matching the count of declarations, a particular declaration within the statement, and single-Decl DeclStmts. llvm-svn: 162027
-
Chad Rosier authored
variables, function or label references. The former is a potential clobber. The latter is either an input or an output. Unfortunately, it's difficult to test this patch at the moment, but the added test case will eventually do so. llvm-svn: 162026
-
Sam Panzer authored
llvm-svn: 162025
-
- Aug 16, 2012
-
-
Dmitry Vyukov authored
tsan: add flag to disable reporting of destruction of locked mutexes (some programs use that on a regular basis) llvm-svn: 162024
-
Rafael Espindola authored
where some fact lake a=b dominates a use in a phi, but doesn't dominate the basic block itself. This feature could also be implemented by splitting critical edges, but at least with the current algorithm reasoning about the dominance directly is faster. The time for running "opt -O2" in the testcase in pr10584 is 1.003 times slower and on gcc as a single file it is 1.0007 times faster. llvm-svn: 162023
-
Dmitry Vyukov authored
llvm-svn: 162022
-
Dmitry Vyukov authored
llvm-svn: 162021
-
Dmitry Vyukov authored
llvm-svn: 162020
-
Dmitry Vyukov authored
llvm-svn: 162019
-
Dmitry Vyukov authored
llvm-svn: 162018
-
Dmitry Vyukov authored
llvm-svn: 162017
-
Nadav Rotem authored
llvm-svn: 162014
-
Jush Lu authored
Without fastcc support, the caller just falls through to CallingConv::C for fastcc, but callee still uses fastcc, this inconsistency of calling convention is a problem, and fastcc support can fix it. llvm-svn: 162013
-
Anitha Boyapati authored
llvm-svn: 162012
-
Richard Smith authored
and remove ASTContext reference (which was frequently bound to a dereferenced null pointer) from the recursive lump of printPretty functions. In so doing, fix (at least) one case where we intended to use the 'dump' mode, but that failed because a null ASTContext reference had been passed in. llvm-svn: 162011
-
Anitha Boyapati authored
llvm-svn: 162010
-
Akira Hatanaka authored
llvm-svn: 162009
-
Akira Hatanaka authored
floats. llvm-svn: 162008
-
Richard Smith authored
potential crasher -- Context is sometimes a null reference (!!) here. llvm-svn: 162007
-
Sam Panzer authored
llvm-svn: 162006
-
Richard Smith authored
llvm-svn: 162005
-
Tanya Lattner authored
llvm-svn: 162003
-
Tanya Lattner authored
llvm-svn: 162002
-
Johnny Chen authored
llvm-svn: 162001
-
Chad Rosier authored
llvm-svn: 162000
-
Jordan Rose authored
Previously, we were losing path notes (in both text and plist form) because the interesting DeclRefExpr was buried in a cast. llvm-svn: 161999
-