| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
differences, and to be more specific.
llvm-svn: 54648
|
| |
|
|
| |
llvm-svn: 54647
|
| |
|
|
|
|
| |
of stack objects. This fixes PR2656.
llvm-svn: 54646
|
| |
|
|
|
|
|
| |
- Changed CodeGenModule::getObjCRuntime to return reference.
- Added CodeGenModule::hasObjCRuntime predicate.
llvm-svn: 54645
|
| |
|
|
| |
llvm-svn: 54644
|
| |
|
|
|
|
|
|
|
|
|
| |
- Maps to LangOptions.Exceptions
- Currently always off, should autoselect based on language.
Update CodeGen to set unwind attribute on functions definitions based
on LangOptions.Exceptions.
- Still need to set attributes appropriately on calls.
llvm-svn: 54643
|
| |
|
|
| |
llvm-svn: 54642
|
| |
|
|
|
|
|
|
|
|
| |
folding policies with IRBuilder. The default,
provided by ConstantFolder, is to do minimal
folding like now: what ConstantExpr provides.
An alternative is to use TargetFolder, which
uses target information to fold constants more.
llvm-svn: 54640
|
| |
|
|
|
|
|
|
|
|
|
| |
- Kill unnecessary #includes in .cpp files. This is an automatic
sweep so some things removed are actually used, but happen to be
included by a previous header. I tried to get rid of the obvious
examples and this was the easiest way to trim the #includes in one
fell swoop.
- We now return to regularly scheduled development.
llvm-svn: 54632
|
| |
|
|
| |
llvm-svn: 54631
|
| |
|
|
| |
llvm-svn: 54630
|
| |
|
|
|
|
|
|
| |
- Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h
- Moved Sema::getCurMethodDecl() out of line (dependent on
ObjCMethodDecl via dyn_cast).
llvm-svn: 54629
|
| |
|
|
|
|
| |
- Remove internal uses of AST.h
llvm-svn: 54628
|
| |
|
|
|
|
|
|
| |
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and
SourceLocation.h)
- Move ASTContext constructor into implementation
llvm-svn: 54627
|
| |
|
|
|
|
|
| |
- Drop Diagnostic.h from DeclSpec.h, move utility Diag methods into
implementation .cpp
llvm-svn: 54626
|
| |
|
|
|
|
|
| |
- Drop TokenKinds.h from Action.h
- Move DeclSpec.h from Sema.h into individual Sema .cpp files
llvm-svn: 54625
|
| |
|
|
|
|
| |
- Not currently accessible and completely non-functional.
llvm-svn: 54624
|
| |
|
|
|
|
| |
usages)
llvm-svn: 54623
|
| |
|
|
| |
llvm-svn: 54622
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
temporarily, I assumed GetAddrForConstantString literal was being
used consistently but it doesn't look like it is.
Factored out a CodeGenModule::getStringForStringLiteral which handles
extracting a std::string for the bytes of a StringLiteral, padded to
match the type.
Update EmitLValue to use getStringForStringLiteral, this was
previously not padding strings correctly. Good thing we only emit
strings in 4 different places!
llvm-svn: 54621
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move FormatError() from TextDiagnostic up to DiagClient, remove now
empty class TextDiagnostic
* Make DiagClient optional for Diagnostic
This fixes the following problems:
* -html-diags (and probably others) does now output the same set of
warnings as console clang does
* nothing crashes if one forgets to call setHeaderSearch() on
TextDiagnostic
* some code duplication is removed
llvm-svn: 54620
|
| |
|
|
| |
llvm-svn: 54619
|
| |
|
|
|
|
| |
This happened because seralization was done in the constructor, and at that time the TranslationUnit is no longer valid.
llvm-svn: 54618
|
| |
|
|
| |
llvm-svn: 54617
|
| |
|
|
| |
llvm-svn: 54616
|
| |
|
|
| |
llvm-svn: 54615
|
| |
|
|
|
|
| |
an appropriate diagnostic.
llvm-svn: 54614
|
| |
|
|
|
|
| |
function (no need for it to be part of the Sema API).
llvm-svn: 54613
|
| |
|
|
|
|
| |
incomplete array types are completed (and diagnosed properly).
llvm-svn: 54612
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
efficient lookahead and backtracking.
1) New public methods added:
-EnableBacktrackAtThisPos
-DisableBacktrack
-Backtrack
-isBacktrackEnabled
2) LookAhead() implementation is replaced with a more efficient one.
3) LookNext() is removed.
llvm-svn: 54611
|
| |
|
|
|
|
|
|
| |
length element.
Fix some 80-col violations.
llvm-svn: 54610
|
| |
|
|
|
|
|
|
|
| |
getIntegerConstantExprValue.
Tweak getIntegerConstantExprValue to suppress warning in
Release-Asserts mode.
llvm-svn: 54609
|
| |
|
|
| |
llvm-svn: 54608
|
| |
|
|
| |
llvm-svn: 54607
|
| |
|
|
|
|
| |
a bit more clear (rdar://5646070)
llvm-svn: 54606
|
| |
|
|
| |
llvm-svn: 54605
|
| |
|
|
| |
llvm-svn: 54604
|
| |
|
|
| |
llvm-svn: 54603
|
| |
|
|
| |
llvm-svn: 54602
|
| |
|
|
|
|
|
|
| |
member count. The count returned by numStructUnionElements is the
number of initializers that will be consumed, not the number of members
to iterate through. Fixes PR2534.
llvm-svn: 54601
|
| |
|
|
| |
llvm-svn: 54600
|
| |
|
|
| |
llvm-svn: 54599
|
| |
|
|
|
|
| |
now fixed in an alternate way.
llvm-svn: 54598
|
| |
|
|
|
|
|
| |
anywhere near complete, but I don't know of any issues, and it can
handle enough to allow removing the I-C-E pointer cast hack.
llvm-svn: 54597
|
| |
|
|
| |
llvm-svn: 54596
|
| |
|
|
| |
llvm-svn: 54595
|
| |
|
|
| |
llvm-svn: 54594
|
| |
|
|
| |
llvm-svn: 54593
|
| |
|
|
|
|
|
| |
an invalid struct decl. Thanks to Martin Doucha for the
isIncompleteArrayType part of this patch.
llvm-svn: 54592
|
| |
|
|
|
|
| |
(Fixing a spelling error.)
llvm-svn: 54591
|