- 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
-
Anna Zaks authored
llvm-svn: 136938
-
Matt Beaumont-Gay authored
llvm-svn: 136937
-
- 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
-
Chad Rosier authored
llvm-svn: 136924
-
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
-
Ted Kremenek authored
llvm-svn: 136864
-
John McCall authored
QoI work. rdar://problem/9887979. If some open-source wants to get an idea for what QoI work I have in mind, ping me. llvm-svn: 136860
-
Chad Rosier authored
llvm-svn: 136859
-
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: 136850
-
Ted Kremenek authored
llvm-svn: 136849
-
Chad Rosier authored
structures. Alignment can be enforced with the use of anonymous bitfields (e.g., int :0), but this is not currently supported. Add this test case to document the current state, which will hopefully be fixed shortly. llvm-svn: 136848
-
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
-
Chandler Carruth authored
designed to be executed, and its output inspected for correct values, but we aren't executing it. We're just compiling it, and dumping it to /dev/null. It also isn't freestanding. If there is a desire to have this test actually stick around, complain and I'll revert this and try to add the file checks necessary to make this actually test things. llvm-svn: 136846
-