| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 191730
|
|
|
|
|
|
|
|
|
|
| |
trunk clang is a bit more aggressive about emitting unused-declaration
warnings, so adjust some AST code to match. Specifically, use
LLVM_ATTRIBUTE_UNUSED for declarations which are never supposed to be
referenced, and turn references to declarations which are supposed to be
referenced into odr-uses.
llvm-svn: 190443
|
|
|
|
|
|
| |
threadprivate_messages.cpp)
llvm-svn: 190183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
I have no idea why these were there in the first place, but now they are
certainly not necessary.
Reviewers: rsmith
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1581
llvm-svn: 189813
|
|
|
|
|
|
|
|
| |
This reverts commit r189795.
threadprivate_messages.cpp is faling on windows.
llvm-svn: 189811
|
|
|
|
| |
llvm-svn: 189795
|
|
|
|
| |
llvm-svn: 188989
|
|
|
|
|
|
| |
the context in couple other functions that are called from creation functions.
llvm-svn: 188986
|
|
|
|
| |
llvm-svn: 188862
|
|
|
|
|
|
| |
to be using.
llvm-svn: 188860
|
|
|
|
| |
llvm-svn: 188757
|
|
|
|
| |
llvm-svn: 188756
|
|
|
|
|
|
| |
ASTContext& version in Stmt inline instead of having two out of line functions that both call to the global versions.
llvm-svn: 188648
|
|
|
|
| |
llvm-svn: 188645
|
|
|
|
|
|
| |
ASTContext& version.
llvm-svn: 188644
|
|
|
|
|
|
| |
check on the result since ASTContext allocator won't return null.
llvm-svn: 188641
|
|
|
|
|
|
| |
since the underlying operator new only needs a const reference.
llvm-svn: 188636
|
|
|
|
| |
llvm-svn: 186647
|
|
|
|
| |
llvm-svn: 185101
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a FieldDecl from it, and propagate both into the closure type and the
LambdaExpr.
You can't do much useful with them yet -- you can't use them within the body
of the lambda, because we don't have a representation for "the this of the
lambda, not the this of the enclosing context". We also don't have support or a
representation for a nested capture of an init-capture yet, which was intended
to work despite not being allowed by the current standard wording.
llvm-svn: 181985
|
|
|
|
|
|
|
|
| |
- Sema tests added and CodeGen tests are pending
Differential Revision: http://llvm-reviews.chandlerc.com/D728
llvm-svn: 181101
|
|
|
|
|
|
|
|
|
|
|
| |
Add serialization for captured statements and captured decls. Also add
a const_capture_iterator to CapturedStmt.
Test contributed by Wei Pan
Differential Revision: http://llvm-reviews.chandlerc.com/D727
llvm-svn: 181048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the actual parser and support arbitrary id-expressions.
We're actually basically set up to do arbitrary expressions here
if we wanted to.
Assembly operands permit things like A::x to be written regardless
of language mode, which forces us to embellish the evaluation
context logic somewhat. The logic here under template instantiation
is incorrect; we need to preserve the fact that an expression was
unevaluated. Of course, template instantiation in general is fishy
here because we have no way of delaying semantic analysis in the
MC parser. It's all just fishy.
I've also fixed the serialization of MS asm statements.
This commit depends on an LLVM commit.
llvm-svn: 180976
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add CapturedDecl to be the DeclContext for CapturedStmt, and perform semantic
analysis. Currently captures all variables by reference.
TODO: templates
Author: Ben Langmuir <ben.langmuir@intel.com>
Differential Revision: http://llvm-reviews.chandlerc.com/D433
llvm-svn: 179618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CapturedStmt can be used to implement generic function outlining as described in
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-January/027540.html.
CapturedStmt is not exposed to the C api.
Serialization and template support are pending.
Author: Wei Pan <wei.pan@intel.com>
Differential Revision: http://llvm-reviews.chandlerc.com/D370
llvm-svn: 179615
|
|
|
|
|
|
|
| |
Nearly all of these changes are one-to-one replacements; the few that
aren't have to do with custom identifier validation.
llvm-svn: 174768
|
|
|
|
| |
llvm-svn: 171239
|
|
|
|
| |
llvm-svn: 171238
|
|
|
|
|
|
|
|
| |
Changed getLocStart() and getLocEnd() to be required for Stmts, and make
getSourceRange() optional. The default implementation for getSourceRange()
is build the range by calling getLocStart() and getLocEnd().
llvm-svn: 171067
|
|
|
|
| |
llvm-svn: 169095
|
|
|
|
|
|
|
|
|
| |
pull in all the generated Attr code.
Required to pull some functions out of line, but this shouldn't have a perf impact.
No functionality change.
llvm-svn: 169092
|
|
|
|
|
|
| |
front-end and the AsmParser. No functional change intended.
llvm-svn: 166063
|
|
|
|
| |
llvm-svn: 163149
|
|
|
|
| |
llvm-svn: 163143
|
|
|
|
|
|
| |
Also a minor fix to __except printing in StmtPrinter.cpp. Thanks to Aaron Ballman for review.
llvm-svn: 163083
|
|
|
|
|
|
|
|
| |
We still need to translate the string, but this at least gets us one step
closer to using the more general EmitAsmStmt() codegen function. No functional
change intended.
llvm-svn: 162785
|
|
|
|
|
|
|
| |
the constraints, so in the interim we speculatively assume a 'r' constraint.
This is expected to work for most cases on x86.
llvm-svn: 162784
|
|
|
|
| |
llvm-svn: 162773
|
|
|
|
| |
llvm-svn: 162768
|
|
|
|
|
|
| |
with FIXMEs for unimplemented features. No functional change intended.
llvm-svn: 162716
|
|
|
|
|
|
| |
More work towards unifying asm stmt codegen.
llvm-svn: 162712
|
|
|
|
|
|
|
| |
coding standards. Also, add stub for MSAsmStmt class as part of unifying
codegen logic for AsmStmts.
llvm-svn: 162696
|
|
|
|
| |
llvm-svn: 162692
|
|
|
|
|
|
| |
classes.
llvm-svn: 162691
|
|
|
|
|
|
| |
No functional change intended.
llvm-svn: 162632
|
|
|
|
| |
llvm-svn: 162568
|
|
|
|
|
|
| |
generate the Input/Output expressions using Sema::ActOnIdExpression().
llvm-svn: 162509
|
|
|
|
| |
llvm-svn: 162210
|
|
|
|
| |
llvm-svn: 162000
|
|
|
|
|
|
| |
printer. Patch by Enea Zaffanella <zaffanella@cs.unipr.it>.
llvm-svn: 161958
|