Alexander Kornienko
|
3924dfd7cf
Remove deprecated methods ast_matchers::BoundNodes::{getStmtAs,getDeclAs}
|
8 years ago |
Serge Pavlov
|
8323711b07
Make output of -ast-print a valid C++ code.
|
8 years ago |
Aaron Ballman
|
5d6b9bd99d
Rename AST node matchers to match the AST node names directly. Part of this rename also splits recordDecl() (which used to match CXXRecordDecl) into recordDecl() (that matches RecordDecl) and cxxRecordDecl (that matches CXXRecordDecl). Also adds isStruct(), isUnion(), and isClass() narrowing matchers for RecordDecl objects.
|
10 years ago |
David Majnemer
|
2b6d863890
Move a test from static-assert.cpp to DeclPrinterTest
|
10 years ago |
Alexander Kornienko
|
dfa4cf3126
Use 'override/final' instead of 'virtual' for overridden methods
|
10 years ago |
Richard Smith
|
1c077723cf
AST printer: fix double space before base class with no access specifier.
|
11 years ago |
Richard Smith
|
7f45156a99
When pretty-printing a declaration of a pack, put the ellipsis before the name
|
11 years ago |
Ahmed Charles
|
70639e8de3
Replace OwningPtr with std::unique_ptr.
|
11 years ago |
Dmitri Gribenko
|
ea547be7c0
Decl printing: add tests for typedefs
|
11 years ago |
Benjamin Kramer
|
d3cacdd575
Add a StmtPrinter test for implicit and explicit conversion operator calls.
|
11 years ago |
Benjamin Kramer
|
c148531050
Pretty Printer: Print constexpr and ref qualifiers. Don't print return types on destructors.
|
11 years ago |
Benjamin Kramer
|
73db075cf6
Reapply "Pretty Printer: Fix printing of conversion operator decls and calls."
|
11 years ago |
NAKAMURA Takumi
|
454b3a6f3d
clang/unittests/AST,ASTMatchers: Remove _MSC_VER.
|
11 years ago |
Saleem Abdulrasool
|
92e49c2805
unittests: explicit stringify StringRefs for conversion
|
11 years ago |
Richard Smith
|
f2af173051
When formatting a C++-only declaration name, enable C++ mode in the formatter's
|
11 years ago |
David Majnemer
|
6d01ccaf81
Switch to ssize_t from size_t to unbreak windows builders.
|
11 years ago |
Fariborz Jahanian
|
88d158c631
Provide couple of DeclPrint tests for my last patch.
|
12 years ago |
Fariborz Jahanian
|
40902d817e
Audit DeclPrinter with -ast-dump on Cocoa.h and
|
12 years ago |
Fariborz Jahanian
|
88b9521364
This is the libclang patch providing minimal API to
|
12 years ago |
Richard Smith
|
1d28caf3b5
PR14558: Compute triviality of special members (etc) at the end of the class
|
12 years ago |
Fariborz Jahanian
|
ddb2968ba6
In DeclPrint add printing of '= default'
|
12 years ago |
Fariborz Jahanian
|
65bcdabba3
In DeclPrint add printing of 'explicit'
|
12 years ago |
Fariborz Jahanian
|
a3064c32d3
fix comment.
|
12 years ago |
Fariborz Jahanian
|
02a2e5a1dd
Testing C++ declarations embedded in
|
12 years ago |
Fariborz Jahanian
|
a7a68b61e8
Patch for decl printer test of objective-c methods.
|
13 years ago |
Dmitri Gribenko
|
976f118dc5
DeclPrinter tests: simplify the code by using the new runToolOnCodeWithArgs
|
13 years ago |
Dmitri Gribenko
|
44470efba5
DeclPrinter tests: since now some platforms use C++11 by default, make it
|
13 years ago |
Nico Weber
|
50f88b99c6
Reland r160052: Default to -std=c++11 on Windows.
|
13 years ago |
NAKAMURA Takumi
|
29b1f682ac
ASTTests: Suppress TestCXXConstructorDecl11 on msvc for now. It seems incompatible.
|
13 years ago |
Daniel Jasper
|
7fd90b03a2
Use LLVM's plugin registry to enable registering new compilation
|
13 years ago |