- Aug 05, 2011
-
-
Anna Zaks authored
KeychainAPI checker: Generate an error on double allocation. Pull out getAsPointeeMemoryRegion so that it could be reused. llvm-svn: 136952
-
Matt Beaumont-Gay authored
llvm-svn: 136950
-
John McCall authored
releasing the collection. llvm-svn: 136949
-
Kaelyn Uhrain authored
functions when performing function overload resolution. llvm-svn: 136948
-
Fariborz Jahanian authored
argument to bool. // rdar://9899834 llvm-svn: 136946
-
Chad Rosier authored
llvm-svn: 136944
-
Kaelyn Uhrain authored
when performing typo correction involving any overloaded template functions. The added test cases, while currently demontrating sub-optimal behavior, will not trigger any messages without the 1-line change to SemaExpr.cpp. llvm-svn: 136943
-
Matt Beaumont-Gay authored
it can be controlled with a distinct flag. llvm-svn: 136941
-
Ted Kremenek authored
llvm-svn: 136939
-
- Aug 04, 2011
-
-
Anna Zaks authored
KeychainAPI checker: Track additional pair of SecKeychain APIs. Also, keep exploring the transition on which a call to allocator function failed (to be able to find errors in examples like ErrorCodesFromDifferentAPISDoNotInterfere). llvm-svn: 136930
-
Chad Rosier authored
llvm-svn: 136929
-
Fariborz Jahanian authored
situation. When a class explicitly or implicitly (through inheritance) "conformsTo" two protocols which conflict (have methods which conflict). This is 2nd part of // rdar://6191214. llvm-svn: 136927
-
Douglas Gregor authored
cursor, from Connor Wakamo! Addresses <rdar://problem/9087798>. llvm-svn: 136911
-
Chad Rosier authored
llvm-svn: 136907
-
Douglas Gregor authored
clearly called out, and add the missing local -> global selector map output. llvm-svn: 136903
-
Douglas Gregor authored
the last of the ID/offset/index mappings that I know of. Unfortunately, the "gap" method of testing doesn't work here due to the way the preprocessing record performs iteration. We'll do more testing once multi-AST loading is possible. llvm-svn: 136902
-
Douglas Gregor authored
ASTReader::ReadMacroRecord(). No functionality change. llvm-svn: 136893
-
Chad Rosier authored
llvm-svn: 136892
-
Kaelyn Uhrain authored
Having a function declaration and definition with different types for a parameter where the types have same (textual) name can occur when an unqualified type name resolves to types in different namespaces in each location. The error messages have been extended by adding notes that point to the first parameter of the function definition that doesn't match the declaration, instead of a generic "member declaration nearly matches". The generic message is still used in cases where the mismatch is not in the paramenter list, such as mismatched cv qualifiers on the member function itself. llvm-svn: 136891
-
Anna Zaks authored
KeychainAPI checker: Refactor to make it easier to add more allocator/deallocator API pairs. Add the allocator function ID to the checker state. Better comments. llvm-svn: 136889
-
Douglas Gregor authored
so that we use ID zero as a sentinel for "no result". This matches the convention set by all of the other global IDs. llvm-svn: 136885
-
Douglas Gregor authored
Add some missing record names to the AST output. No functionality change, but llvm-bcanalyzer will be a little more informative now for AST files llvm-svn: 136883
-
Douglas Gregor authored
the detailed preprocessing record. Tested with the standard "gaps" method. llvm-svn: 136882
-
Douglas Gregor authored
llvm-svn: 136879
-
Douglas Gregor authored
David Blaikie! llvm-svn: 136876
-
Chad Rosier authored
alignment. This fixes cases where the anonymous bitfield is followed by a non-bitfield member. E.g., struct t4 { int foo : 1; long : 0; char bar; }; Part of rdar://9859156 llvm-svn: 136858
-
John McCall authored
Patch by Craig Topper and Sundeep! llvm-svn: 136856
-
Anna Zaks authored
llvm-svn: 136852
-
Anna Zaks authored
KeychainAPI checker: Add basic diagnostics. Track MemoryRegion istead of SymbolicRef since the address might not be a symbolic value in some cases, for example in fooOnlyFree() test. llvm-svn: 136851
-
Ted Kremenek authored
llvm-svn: 136849
-
Douglas Gregor authored
IDs will never cross module boundaries, since they're tied to the CXXDefinitionData, so just use a local mapping throughout. Eliminate the global -> local tables and supporting data. llvm-svn: 136847
-
Fariborz Jahanian authored
llvm-svn: 136841
-
Douglas Gregor authored
reader. Tested with the usual "gaps" method. llvm-svn: 136839
-
Ted Kremenek authored
[analyzer] rename all experimental checker packages to have 'experimental' be the common root package. llvm-svn: 136835
-
John McCall authored
own, incorrectly, for releasing objects at the end of a full-expression. llvm-svn: 136823
-
- Aug 03, 2011
-
-
Douglas Gregor authored
reader, and fix up the one (!) place where we were improperly mapping a local ID to a global ID. Tested via the usual "gaps" trick. llvm-svn: 136817
-
Kaelyn Uhrain authored
Change TypoCorrection to store a set of NamedDecls instead of a single NamedDecl. Also add initial support for performing function overload resolution to Sema::DiagnoseEmptyLookup. llvm-svn: 136807
-
Ted Kremenek authored
[analyzer] Introduce MallocOverflowSecurityChecker, a simple flow-sensitive checker that may be useful for security auditing. This checker is currently too noisy to be on by default. llvm-svn: 136804
-
Fariborz Jahanian authored
those declated in its protocols. First half or // rdar://6191214 llvm-svn: 136794
-
Jonathan D. Turner authored
llvm-svn: 136792
-