- May 04, 2012
-
-
Chris Lattner authored
llvm-svn: 156206
-
Jean-Daniel Dupas authored
Add a test case for the related NSAssert workaround. llvm-svn: 156205
-
Richard Smith authored
llvm-svn: 156192
-
Argyrios Kyrtzidis authored
llvm-svn: 156188
-
Douglas Gregor authored
that bridging between the two is free. Saves ~4k of code size, although I don't see any measurable performance difference (unfortunately). llvm-svn: 156187
-
Sean Callanan authored
getTypeSourceInfo() without checking for NULL. FieldDecls may have NULL TypeSourceInfo, and in fact some FieldDecls generated by Clang -- and all FieldDecls generated by LLDB -- have no TypeSourceInfo. This patch makes IsTailPaddedMemberArray check for NULL. llvm-svn: 156186
-
Argyrios Kyrtzidis authored
Part of rdar://11353109. llvm-svn: 156185
-
Anna Zaks authored
llvm-svn: 156183
-
Douglas Gregor authored
llvm-svn: 156180
-
Douglas Gregor authored
llvm-svn: 156178
-
Douglas Gregor authored
off PartialDiagnostic. PartialDiagnostic is rather heavyweight for something that is in the critical path and is rarely used. So, switch over to an abstract-class-based callback mechanism that delays most of the work until a diagnostic is actually produced. Good for ~11k code size reduction in the compiler and 1% speedup in -fsyntax-only on the code in <rdar://problem/11004361>. llvm-svn: 156176
-
DeLesley Hutchins authored
llvm-svn: 156175
-
Chad Rosier authored
Patch by Jordy Rose. llvm-svn: 156172
-
James Molloy authored
Add a predefine __WINT_UNSIGNED__, similar to __WCHAR_UNSIGNED__, and test them both for ARM and X86. Use this to fully fix Sema/format-strings.c for non-x86 platforms. Reviewed by Chandler on IRC. llvm-svn: 156169
-
James Molloy authored
Fix handling of wint_t - we can't assume wint_t is purely an integer promotion of wchar_t - they may differ in signedness. Teach ASTContext about WIntType, and have it taken from TargetInfo like WCharType. Should fix test/Sema/format-strings.c for ARM, with the exception of one subtest which will fail if wint_t and wchar_t are the same size and wint_t is signed, wchar_t is unsigned. There'll be a followup commit to fix that. Reviewed by Chandler and Hans at http://llvm.org/reviews/r/8 llvm-svn: 156165
-
Jean-Daniel Dupas authored
CC1 supports only the joined format. llvm-svn: 156161
-
Alexey Samsonov authored
It reduces the amount of emitted debug information: 1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram, DW_TAG_inlined_subroutine (for opt builds) and DW_TAG_lexical_block only. 2) .debug_str contains only function names. 3) No debug data for types/namespaces/variables is emitted. 4) The data in .debug_line is enough to produce valid stack traces with function names and line numbers. Reviewed by Eric Christopher. llvm-svn: 156160
-
NAKAMURA Takumi authored
llvm-svn: 156153
-
-
Richard Trieu authored
in the conditional. llvm-svn: 156148
-
Argyrios Kyrtzidis authored
rdar://11353109 llvm-svn: 156145
-
Argyrios Kyrtzidis authored
was removed in r155969 to address a deficiency of RecursiveASTVisitor prior to recent changes on it. llvm-svn: 156142
-
Argyrios Kyrtzidis authored
minimal disruption on its clients. Unlike the previous data-recursive scheme, Traverse*Stmt methods are always getting called. The base methods of RecursiveASTVisitor will enqueue the sub-statements instead of calling TraverseStmt on them. Clients that override a Traverse*Stmt method and call TraverseStmt will still function as function-recursive traversal; if a client wants to enqueue a sub-statement in its override method it can do it like this: [inside the override method] StmtQueueAction StmtQueue(*this); StmtQueue.queue(Stmt->getSubStmt()); Should address rdar://11179167. llvm-svn: 156141
-
Anna Zaks authored
a struct. llvm-svn: 156135
-
Anna Zaks authored
(Since we don't have a generic pointer escape callback, modify ExprEngineCallAndReturn as well as the malloc checker.) llvm-svn: 156134
-
Chandler Carruth authored
of templates by using the newly introduce FoldingSetVector. This preserves insertion order for all iteration of specializations. I've also included a somewhat terrifying testcase that rapidly builds up a large number of functions. This is enough that any system with ASLR will have non-deterministic debug information generated for the test case without the fix here as the debug information is generated in part by walking these specializations. llvm-svn: 156133
-
Bob Wilson authored
llvm-svn: 156132
-
Douglas Gregor authored
Inline DenseMapInfo<clang::DeclarationName>::getHashValue() for a 0.4% speedup on <rdar://problem/11004361> llvm-svn: 156129
-
Fariborz Jahanian authored
// rdar://11095151 llvm-svn: 156127
-
Douglas Gregor authored
(trivially) make DeclContext::lookup()'s const version inlinable. Good for 0.3% on <rdar://problem/11004361>. llvm-svn: 156126
-
Fariborz Jahanian authored
synthesis translation. // rdar://11374235 - wip. llvm-svn: 156125
-
Stephen Canon authored
llvm-svn: 156123
-
Chad Rosier authored
array_lengthof. Also, append the new filename with correct preprocessed suffix. Last part of rdar://11285725 llvm-svn: 156117
-
Richard Smith authored
dropped its prior behavior of always defining __cplusplus to 1 in GNU mode in version 4.7. llvm-svn: 156113
-
- May 03, 2012
-
-
Argyrios Kyrtzidis authored
validate that we didn't override the contents of any of such files. If this is detected, emit a diagnostic error and recover gracefully by using the contents of the original file that the PCH was built from. Part of rdar://11305263 llvm-svn: 156107
-
Fariborz Jahanian authored
of places. // rdar://11375908 llvm-svn: 156106
-
Chad Rosier authored
llvm-svn: 156104
-
Douglas Gregor authored
performing the search for overridden methods. We very rarely see the same container twice, and in those rare cases we still have the fallback of the second SmallPtrSet to eliminate duplicates. Good for ~1.5% -fsyntax-only speedup on the code in <rdar://problem/11004361>. llvm-svn: 156103
-
Fariborz Jahanian authored
prototypes should both return `struct objc_class *`. // rdar://11375495 llvm-svn: 156097
-
Chad Rosier authored
Part of rdar://11285725 llvm-svn: 156096
-