| #
718a89a5 |
| 23-Jul-2009 |
Anders Carlsson <[email protected]> |
Use arrays as union padding. Also, since the resulting struct will always contain a single element and either a single i8 element or an array of i8s, there's no reason to use a packed struct.
llvm-s
Use arrays as union padding. Also, since the resulting struct will always contain a single element and either a single i8 element or an array of i8s, there's no reason to use a packed struct.
llvm-svn: 76854
show more ...
|
| #
8a286fbd |
| 17-Jul-2009 |
Ted Kremenek <[email protected]> |
Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::ge
Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger.
llvm-svn: 76193
show more ...
|
| #
b825c0dd |
| 17-Jul-2009 |
Ted Kremenek <[email protected]> |
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.
llvm-svn: 76139
show more ...
|
| #
170229f6 |
| 14-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change, and contextify a bunch of related stuff.
llvm-svn: 75705
|
| #
2571eb64 |
| 14-Jul-2009 |
Owen Anderson <[email protected]> |
Update for API change.
llvm-svn: 75569
|
| #
ae86c19e |
| 13-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change.
llvm-svn: 75446
|
| #
c10c8d3e |
| 08-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change.
llvm-svn: 75028
|
| #
9f211fb4 |
| 08-Jul-2009 |
Owen Anderson <[email protected]> |
Update for LLVM API change.
llvm-svn: 74986
|
| #
cfbfe78e |
| 30-Jun-2009 |
Argyrios Kyrtzidis <[email protected]> |
De-ASTContext-ify DeclContext.
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using
De-ASTContext-ify DeclContext.
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit.
llvm-svn: 74506
show more ...
|
| #
6282b3cf |
| 14-Jun-2009 |
Eli Friedman <[email protected]> |
PR4390: Make sure to handle anonymous unions correctly while building static intializers for structs.
llvm-svn: 73349
|
| #
15ba9498 |
| 14-Jun-2009 |
Chris Lattner <[email protected]> |
Sink the BuiltinInfo object from ASTContext into the preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around.
llvm-s
Sink the BuiltinInfo object from ASTContext into the preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around.
llvm-svn: 73319
show more ...
|
| #
751aa72b |
| 27-May-2009 |
Eli Friedman <[email protected]> |
Fix up constant expression handling to deal with the address of a reference correctly.
llvm-svn: 72463
|
| #
18bb9284 |
| 16-May-2009 |
Mike Stump <[email protected]> |
Reflow some comments.
llvm-svn: 71937
|
| #
e0be0dfc |
| 12-May-2009 |
Chris Lattner <[email protected]> |
push GlobalDecl through enough of the CodeGenModule interfaces to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.
push GlobalDecl through enough of the CodeGenModule interfaces to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.cpp:test2, but when it does, its body should get emitted.
llvm-svn: 71594
show more ...
|
| #
c76fe8b6 |
| 09-May-2009 |
Duncan Sands <[email protected]> |
Correct for renaming PaddedSize -> AllocSize in LLVM.
llvm-svn: 71350
|
| #
7ce29a18 |
| 07-May-2009 |
Eli Friedman <[email protected]> |
Fix crash with constant initialization of bit-fields in unions.
llvm-svn: 71194
|
| #
902fddd1 |
| 30-Apr-2009 |
Eli Friedman <[email protected]> |
Fix for PR4108: be a bit looser with the casts that we accept in constant initializers.
llvm-svn: 70483
|
| #
20bb5e02 |
| 13-Apr-2009 |
Eli Friedman <[email protected]> |
Minor work related to removing the assumption that value initialization implies an all-zero bit pattern.
llvm-svn: 68994
|
| #
d8e39bbb |
| 11-Apr-2009 |
Anders Carlsson <[email protected]> |
Add support for generating reference initialization code.
llvm-svn: 68852
|
| #
6ef4ea49 |
| 10-Apr-2009 |
Anders Carlsson <[email protected]> |
Rename variables to avoid conflict.
llvm-svn: 68764
|
| #
bcced4ec |
| 09-Apr-2009 |
Douglas Gregor <[email protected]> |
Propagate the ASTContext to various AST traversal and lookup functions. No functionality change (really).
llvm-svn: 68726
|
| #
80f97ab0 |
| 08-Apr-2009 |
Anders Carlsson <[email protected]> |
Add a destination type argument to EmitConstantExpr. This will be used for when the destination has a reference type. (No functionality change yet)
llvm-svn: 68593
|
| #
e14b368f |
| 01-Apr-2009 |
Steve Naroff <[email protected]> |
More "prep" work for handling UTF16 CFString.
Patch by Jean-Daniel Dupas. Thanks!
llvm-svn: 68203
|
| #
66afeb59 |
| 31-Mar-2009 |
Steve Naroff <[email protected]> |
Some "prep" work for handling ObjC @-string constants that contain UTF-8. No functionality change.
Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While thi
Some "prep" work for handling ObjC @-string constants that contain UTF-8. No functionality change.
Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen).
llvm-svn: 68114
show more ...
|
| #
24b1447b |
| 03-Mar-2009 |
Anders Carlsson <[email protected]> |
Return 0 if the ConstExprEmitter can't handle an expression.
llvm-svn: 65951
|