- Jan 21, 2012
-
-
Anna Zaks authored
Also, slightly modify the diagnostic message in ArrayBound and DivZero (still use 'taint', which might not mean much to the user, but plan on changing it later). llvm-svn: 148626
-
Eli Friedman authored
Add an assertion that our use-marking actually covers all uses of a variable. The assertion doesn't cover quite as much as it should, but it's a good start, at least. llvm-svn: 148625
-
Eli Friedman authored
Fix some comments relating to ExpressionEvaluationContexts. Get rid of a couple of uses of ConstantEvaluated which don't make sense. llvm-svn: 148624
-
Richard Trieu authored
function body. This keeps the brace count accurate to prevent additional errors. Also, moved the caret from the brace to the function name. Code: class F{ int Foo{ return 1; } }; Fixed error: parameters.cc:1:14: error: function definition does not declare parameters class F{ int Foo{ return 1; } }; ^ 1 error generated. Old errors: parameters.cc:1:17: error: function definition does not declare parameters class F{ int Foo{ return 1; } }; ^ parameters.cc:1:30: error: expected ';' after class class F{ int Foo{ return 1; } }; ^ ; parameters.cc:1:31: error: expected external declaration class F{ int Foo{ return 1; } }; ^ 3 errors generated. llvm-svn: 148621
-
Anna Zaks authored
When we build a single source file, we call clang directly (not though scan-build). llvm-svn: 148612
-
Eli Friedman authored
llvm-svn: 148611
-
Eli Friedman authored
Make clang's AST model sizeof and typeof with potentially-evaluated operands correctly, similar to what we already do with typeid. llvm-svn: 148610
-
Fariborz Jahanian authored
to "strong" when migrating from GC. // rdar://10532449 llvm-svn: 148607
-
Douglas Gregor authored
argument, which was broken and very ugly (and even had a test case to make *sure* it was broken and ugly). Fixes <rdar://problem/10609117>. llvm-svn: 148606
-
Seth Cantrell authored
and fix typo llvm-svn: 148603
-
DeLesley Hutchins authored
llvm-svn: 148599
-
- Jan 20, 2012
-
-
DeLesley Hutchins authored
llvm-svn: 148595
-
DeLesley Hutchins authored
llvm-svn: 148592
-
Ted Kremenek authored
llvm-svn: 148586
-
Eric Christopher authored
llvm-svn: 148585
-
Eric Christopher authored
a forward declaration unless we already have a type. We can fill it in later if it's actually used. Fixes PR11345 llvm-svn: 148584
-
Bob Wilson authored
llvm-svn: 148583
-
Sebastian Pop authored
llvm-svn: 148582
-
Ted Kremenek authored
llvm-svn: 148579
-
David Blaikie authored
llvm-svn: 148577
-
Ted Kremenek authored
Add ability to specifiy 'restrict' on parameters of builtins, and correct this oversight for scanf functions. llvm-svn: 148573
-
Ted Kremenek authored
llvm-svn: 148567
-
Anna Zaks authored
llvm-svn: 148566
-
Fariborz Jahanian authored
which have same semantics in mrr as well as arr. // rdar://10688312 llvm-svn: 148559
-
Anna Zaks authored
[analyzer] Tweak the buildbot script to include the experimental taint checker and correct the checker enabling setting. llvm-svn: 148558
-
Kostya Serebryany authored
llvm-svn: 148554
-
Argyrios Kyrtzidis authored
expansion, in which case it returns a file range in the location where the argument was spelled. llvm-svn: 148551
-
Benjamin Kramer authored
llvm-svn: 148549
-
Douglas Gregor authored
llvm-svn: 148547
-
Douglas Gregor authored
the front end into its own class, FrontendInputFile, to make it easier to introduce new per-input data. No functionality change. llvm-svn: 148546
-
Benjamin Kramer authored
Found by the clang static analyzer. llvm-svn: 148544
-
Benjamin Kramer authored
Found by clang's own static analyzer. llvm-svn: 148542
-
Ted Kremenek authored
Reenable DeadStoresChecker under --analyze, and move the IdempotentOperationsChecker to the 'experimental' category. Fixes <rdar://problem/10146347>. llvm-svn: 148533
-
Ted Kremenek authored
Implement checker that looks for calls to mktemps and friends that have fewer than 6 Xs. Implements <rdar://problem/6336672>. llvm-svn: 148531
-
Ted Kremenek authored
multiple checks are exposed as separate checkers, but CheckerManager only creates one Checker object. llvm-svn: 148525
-
-
Eli Friedman authored
Remove PotentiallyPotentiallyEvaluated, and replace it with a much simpler and less error-prone way of handling the relevant cases. Towards marking of whether a declaration is used more accurately. llvm-svn: 148522
-
Anna Zaks authored
llvm-svn: 148518
-
Anna Zaks authored
printing. llvm-svn: 148517
-
Anna Zaks authored
at the given location. This could be useful when checkers' logic depends on whether a function is called with a given macro argument. llvm-svn: 148516
-