| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
These functions can generally be applied to multiple kinds of AST node,
so it makes sense to add them to DynTypedNode.
Differential Revision: http://llvm-reviews.chandlerc.com/D2096
llvm-svn: 194113
|
|
|
|
|
|
|
|
| |
For clarity, renamed (get/set)ParenRange as (get/set)ParenOrBraceRange
in CXXConstructExpr nodes.
Added testcase.
llvm-svn: 190239
|
|
|
|
|
|
|
|
|
|
| |
would cause us to concatenate these paragraphs into a single one.
The no-op whitespace churn in test/Index test happened because these tests
don't use the correct approach for testing and are more strict than required
for they are testing.
llvm-svn: 189126
|
|
|
|
| |
llvm-svn: 186702
|
|
|
|
| |
llvm-svn: 186522
|
|
|
|
|
|
|
|
|
|
|
| |
compile""
This reverts commit b18b043a5a37f76803d89467e46bcac286c0ecae.
Reapply with fix for the configure+make build (missing include of
ASTContext.h).
llvm-svn: 186257
|
|
|
|
|
|
|
|
|
| |
This reverts commit r186253.
This is failing to link under Configure+Make on the buildbots for
reasons I don't immediately understand.
llvm-svn: 186255
|
|
|
|
|
|
|
|
|
| |
Fix some uninstantiable code in ASTVector::insert. I've added a
cheap-and-dirty compile test for this, because I don't have the time to
figure out a nice way to get a real ASTContext to implement executable
tests - but we probably should have them for this ADT.
llvm-svn: 186253
|
|
|
|
|
|
|
| |
as suggested by Takumi. To this end, added a MatchVerifier::match()
overload accepting a vector of invocation arguments.
llvm-svn: 185827
|
|
|
|
|
|
|
| |
CXXUnresolvedConstructExpr.SourceRange, for now.
FIXME: It could pass if MS-compatible mode were disabled with Args.push_back("-fno-delayed-template-parsing").
llvm-svn: 185795
|
|
|
|
|
|
| |
Added testcases.
llvm-svn: 185773
|
|
|
|
| |
llvm-svn: 185765
|
|
|
|
|
|
|
|
|
|
| |
Added ASTNodeKind as a standalone way to represent node kinds and their hierarchy.
This change is to support ongoing work on D815.
Reviewers: klimek
CC: cfe-commits
llvm-svn: 184331
|
|
|
|
| |
llvm-svn: 184139
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big changes are:
- Deleting Driver/(Arg|Opt)*
- Rewriting includes to llvm/Option/ and re-sorting
- 'using namespace llvm::opt' in clang::driver
- Fixing the autoconf build by adding option everywhere
As discussed in the review, this change includes using directives in
header files. I'll make follow up changes to remove those in favor of
name specifiers.
Reviewers: espindola
Differential Revision: http://llvm-reviews.chandlerc.com/D975
llvm-svn: 183989
|
|
|
|
|
|
|
|
|
| |
correctly in the presence of qualified types.
(I had to change the unittest because it was trying to cast a
QualifiedTypeLoc to TemplateSpecializationTypeLoc.)
llvm-svn: 183563
|
|
|
|
|
|
|
| |
Regression test to make sure TemplateSpecializationTypeLocs have the
correct locations for angle brackets.
llvm-svn: 183514
|
|
|
|
|
|
| |
MS extensions don't prefer imaginary suffix even with -std=c++11.
llvm-svn: 183301
|
|
|
|
|
|
| |
around.
llvm-svn: 183146
|
|
|
|
|
|
|
|
|
| |
This patch ensures that APValues are deallocated with the ASTContext by
registering a deallocation function for APValues to the ASTContext.
Original version of the patch by James Dennett.
llvm-svn: 183101
|
|
|
|
|
|
| |
commands. // rdar://12381408
llvm-svn: 181071
|
|
|
|
|
|
| |
address space in OpenCL.
llvm-svn: 178906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use the term 'command marker', because the semantics of 'backslash' and 'at'
commands are the same. (Talking about 'at commands' makes them look like a
special entity.)
* Sink the flag down into bitfields, reducing the size of AST nodes.
* Change the flag into an enum for clarity. Boolean function parameters are
not very clear.
* Add unittests for new tok::at_command tokens.
llvm-svn: 176461
|
|
|
|
|
|
| |
command source fidelity. // rdar://13066276
llvm-svn: 176401
|
|
|
|
|
|
|
|
|
|
|
|
| |
This does not yet implement the LimitNode approach discussed.
The impact of this is an O(n) in the number of nodes in the AST
reduction of complexity for certain kinds of matchers (as otherwise the
parent map gets recreated for every new MatchFinder).
See FIXMEs in the comments for the direction of future work.
llvm-svn: 176251
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commands
Add an ability to specify custom documentation block comment commands via a new
class CommentOptions. The intention is that this class will hold future
customizations for comment parsing, including defining documentation comments
with specific numbers of parameters, etc.
CommentOptions instance is a member of LangOptions.
CommentOptions is controlled by a new command-line parameter
-fcomment-block-commands=Foo,Bar,Baz.
llvm-svn: 175892
|
|
|
|
|
|
| |
vector initialization. Patch by John Stratton!
llvm-svn: 174339
|
|
|
|
| |
llvm-svn: 174057
|
|
|
|
| |
llvm-svn: 172923
|
|
|
|
| |
llvm-svn: 172907
|
|
|
|
| |
llvm-svn: 170635
|
|
|
|
|
|
|
|
|
| |
fix any bad objectiveC syntax coming out of
DeclPrinter. This is on going. Also, introduce a new
PrintPolicy and use it as needed when declaration tag
is to be produced via DeclPrinter.
llvm-svn: 170606
|
|
|
|
|
|
|
|
|
|
| |
use clang's formatter. Currently, formatter is used
to format declaration tags for xml comments. Since formatter
is in flux and its change will break several of the clang comment
tests, only a single tests is formatted using this facility.
Doug has reviewed and approved it for check-in.
llvm-svn: 170467
|
|
|
|
|
|
|
|
|
| |
definition, rather than at the end of the definition of the set of nested
classes. We still defer checking of the user-specified exception specification
to the end of the nesting -- we can't check that until we've parsed the
in-class initializers for non-static data members.
llvm-svn: 169805
|
|
|
|
|
|
| |
in constructors.
llvm-svn: 169440
|
|
|
|
|
|
| |
constructors.
llvm-svn: 169435
|
|
|
|
| |
llvm-svn: 169413
|
|
|
|
|
|
|
|
|
| |
<declaration> tag of Comment XML.
Added DeclPrint support for constructors
and fix tests accordingly.
This is wip. // rdar://12378714
llvm-svn: 169412
|
|
|
|
|
|
| |
I forgot to re-sort after fixing main module headers.
llvm-svn: 169244
|
|
|
|
|
|
| |
I've tried to place sensible headers at the top as main-module headers.
llvm-svn: 169243
|
|
|
|
| |
llvm-svn: 169236
|
|
|
|
| |
llvm-svn: 169235
|
|
|
|
| |
llvm-svn: 168957
|
|
|
|
|
|
| |
stuff. Conditioning-out in macro argument was not accepted on MS cl.exe.
llvm-svn: 168867
|
|
|
|
|
|
|
|
|
| |
according to r168856, for now.
I think "i128", that I conditioned out, could be completely removed.
MS Compiler doesn't accept i128. We can assume no one would use i128.
llvm-svn: 168865
|
|
|
|
|
|
| |
Introduced in r167507, discovered in review by Abramo Bagnara.
llvm-svn: 167597
|
|
|
|
|
|
| |
ConstructorDecl source range.
llvm-svn: 167583
|
|
|
|
| |
llvm-svn: 167581
|
|
|
|
|
|
| |
Patch by Philip Craig.
llvm-svn: 167538
|
|
|
|
|
|
| |
Patch by Philip Craig.
llvm-svn: 167470
|