- Aug 02, 2011
-
-
Anna Zaks authored
KeychainAPI checker: only check the paths on which the allocator function returned noErr. (+ minor cleanup) llvm-svn: 136694
-
Douglas Gregor authored
reader. This scheme permits an AST file to be loaded with its type IDs shifted anywhere in the type ID space. At present, the type indices are still allocated in the same boring way they always have been, just by adding up the number of types in each PCH file within the chain. However, I've done testing with this patch by randomly sliding the base indices at load time, to ensure that remapping is occurring as expected. I may eventually formalize this in some testing flag, but loading multiple (non-chained) AST files at once will eventually exercise the same code. There is one known problem with this patch, which involves name lookup of operator names (e.g., "x.operator int*()") in cases where multiple PCH files in the chain. The hash function itself depends on having a stable type ID, which doesn't happen with chained PCH and *certainly* doesn't happen when sliding type IDs around. We'll need another approach. I'll tackle that next. llvm-svn: 136693
-
Douglas Gregor authored
reader statistics), to show the local-to-global mappings. The only such mapping we have (at least, for now) is for source location offsets. llvm-svn: 136687
-
Douglas Gregor authored
all of the kinds of IDs that can be offset. No effectively functionality change; this is preparation for adding remapping for IDs. llvm-svn: 136686
-
Benjamin Kramer authored
llvm-svn: 136679
-
Richard Trieu authored
No functional change. llvm-svn: 136678
-
rdar://problem/7662569Bob Wilson authored
This reverts commit 67d097e1232b7d66f58989c16a45b8a11721f76e. We found a miscompile with ARM byval, which is still being investigated. In the meantime, this works around the problem by disabling ARM byval. Conflicts: lib/CodeGen/TargetInfo.cpp llvm-svn: 136662
-
Anna Zaks authored
Add a skeleton for the Keychain Services API Checker. Register it as OSX experimental for now. Note, the checker still does not handle tracking of escaped values, taking into account the return value of the allocator functions, nor the actual bug reporting.. llvm-svn: 136659
-
-
- Aug 01, 2011
-
-
Akira Hatanaka authored
without bailing out when va_arg is an aggregate expression. However, alignment checking needs to be added in isSafeToEliminateVarargsCast in InstCombineCalls.cpp in order to produce correct mips code (see link below). http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/042047.html llvm-svn: 136647
-
Chad Rosier authored
Unfortunately, llvmgcc doesn't always work when writing temporary output to /dev/null. Therefore, create a temp file that is later deleted. rdar://9837692 llvm-svn: 136644
-
Akira Hatanaka authored
llvm-svn: 136630
-
David Chisnall authored
llvm-svn: 136628
-
Douglas Gregor authored
Move the serialization of the MODULE_OFFSET_MAP out of the source-manager-writing code and into the general chained-PCH writing code llvm-svn: 136624
-
Douglas Gregor authored
Rename the AST file's SOURCE_LOCATION_MAP to MODULE_OFFSET_MAP, to indicate the greater role it will soon play in remapping. llvm-svn: 136619
-
- Jul 31, 2011
-
-
Benjamin Kramer authored
llvm-svn: 136581
-
- Jul 30, 2011
-
-
Argyrios Kyrtzidis authored
EndRangeLoc should always be set to at least the ending paren or brace. llvm-svn: 136573
-
Argyrios Kyrtzidis authored
broken because the end location of the parameter was the end location of the default arg, resulting in a source range that could begin in one file and end in another. llvm-svn: 136572
-
Douglas Gregor authored
appropriate sentinel at the end of the argument list. Also, put the sentinel warnings under -Wsentinel. Fixes <rdar://problem/8764236>. llvm-svn: 136566
-
Douglas Gregor authored
statement. Fixes <rdar://problem/9229438>. llvm-svn: 136564
-
Douglas Gregor authored
variadic bit (", ..." or ", args...") into the prior placeholder, like we do with functions and methods. Fixes <rdar://problem/9740808>. llvm-svn: 136563
-
Douglas Gregor authored
(such as in, inout, byref, and oneway) to code completion results. Fixes <rdar://problem/8844158>. llvm-svn: 136562
-
Douglas Gregor authored
llvm-svn: 136561
-
Douglas Gregor authored
libstdc++ hack has reverted these type traits to keywords. Icky, but fixes <rdar://problem/9836262>. llvm-svn: 136560
-
Douglas Gregor authored
already-defined and forward-declared results. Already-defined results are fine because they could be the start of a category. Fixes <rdar://problem/9811691>. llvm-svn: 136559
-
Douglas Gregor authored
special diagnostic for ARC ownership-qualified types. We wouldn't want to expose Objective-C programmers to the term "POD", would we? Fixes <rdar://problem/9772982>. llvm-svn: 136558
-
Douglas Gregor authored
a fallback, if normal header search fails. Another attempt at <rdar://problem/9824020>. llvm-svn: 136557
-
Fariborz Jahanian authored
Fixed again. // rdar://9846759 llvm-svn: 136550
-
Fariborz Jahanian authored
for copying a captured block object. // rdar://9846759 llvm-svn: 136549
-
Douglas Gregor authored
imported a forward declaration, but later the full definition of the same entity becomes available. When this happens, import the definition. llvm-svn: 136537
-
- Jul 29, 2011
-
-
Eric Christopher authored
Fixes rdar://9866494 llvm-svn: 136524
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitDeclStmt because it isn't needed anymore. llvm-svn: 136522
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitCompoundLiteralExpr because it isn't needed anymore. llvm-svn: 136521
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitCastExpr because it isn't needed anymore. llvm-svn: 136520
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitObjCForCollectionStmt because it isn't needed anymore. llvm-svn: 136519
-
Ted Kremenek authored
[analyzer] Remove explicit argument processing from ExprEngine::VisitObjCMessage() since it is no longer needed. llvm-svn: 136518
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitLValObjCIvarRefExpr because it isn't needed anymore. llvm-svn: 136517
-
Ted Kremenek authored
llvm-svn: 136516
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitObjCPropertyRefExpr because it isn't needed anymore. llvm-svn: 136515
-
Ted Kremenek authored
[analyzer] Remove recursive visitation in ExprEngine::VisitCallExpr because it isn't needed anymore. llvm-svn: 136514
-