History log of /external/clang/unittests/AST/DeclPrinterTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/unittests/AST/DeclPrinterTest.cpp
88d158c631c4c08831855f601990f36f2234f975 20-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> Provide couple of DeclPrint tests for my last patch.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
40902d817e5a73850045d8a0c9795bc5047ee000 20-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> Audit DeclPrinter with -ast-dump on Cocoa.h and
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
88b9521364735a6c9a7ccd23c5bd19d81a80cdd3 19-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> This is the libclang patch providing minimal API to
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
1d28caf3b5254e60d3e3a1d2d37e5df2e5924111 11-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> PR14558: Compute triviality of special members (etc) at the end of the class
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.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
ddb2968ba69e14bafec765401d70f2477bc977f6 05-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> In DeclPrint add printing of '= default'
in constructors.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169440 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
65bcdabba34fddc303ab97f60dfea6079989306a 05-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> In DeclPrint add printing of 'explicit'
constructors.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
a3064c32d378d3a11f87945047c040276850ce4b 05-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> fix comment.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
02a2e5a1dd0ad1b93f66040fc7aae6d69a918daf 05-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> Testing C++ declarations embedded in
<declaration> tag of Comment XML.
Added DeclPrint support for constructors
and fix tests accordingly.
This is wip. // rdar://12378714


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
a7a68b61e809a74fb5d34d57d7429fcc95e1ccad 18-Oct-2012 Fariborz Jahanian <fjahanian@apple.com> Patch for decl printer test of objective-c methods.
Patch by Dmitri Gribenko.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
976f118dc5a2a89be29e6fd01e00f5a188b77847 31-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> DeclPrinter tests: simplify the code by using the new runToolOnCodeWithArgs
function from Tooling.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
44470efba52b730fa1874eea9caacd2839a1af22 31-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> DeclPrinter tests: since now some platforms use C++11 by default, make it
explicitly visible in test cases which language variant is used.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
50f88b99c60c2ed31b339cd8bd484766cc9e916b 30-Aug-2012 Nico Weber <nicolasweber@gmx.de> Reland r160052: Default to -std=c++11 on Windows.

Also update the tests that rely on c++98 to explicitly mention that.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162890 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
29b1f682ac168d71370287a1e955311b4901681a 25-Aug-2012 NAKAMURA Takumi <geek4civic@gmail.com> ASTTests: Suppress TestCXXConstructorDecl11 on msvc for now. It seems incompatible.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
7fd90b03a28df0626fdb44d05be9ddcdb2562686 24-Aug-2012 Daniel Jasper <djasper@google.com> Use LLVM's plugin registry to enable registering new compilation
databases. Move JSONCompilationDatabase.h to its own files and
register it as plugin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162541 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
2dc75ed2ef2fa3cbfd8b2ed88eb2369f3fcd98a9 24-Aug-2012 Daniel Jasper <djasper@google.com> Rename the ASTMatchers to better match AST nodes. Now, all
ASTMatchers have the same name as the corresponding AST nodes
but are lower case. The only exceptions are the "CXX" prefixes
which are not copied over to the matcher names as the goal is to
actually remove these prefixes from the AST node names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
f6ec15a23d271b45f8c0296b7ac44e994119bb8e 24-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> DeclPrinter tests: mark test case we get wrong currently with WRONG.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
c4684244c529284a1350d3cbc98615d1deab7f05 24-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> DeclPrinter tests: add two more tests.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
2e0b8d9c0b16c4f3e3bed992205ce43a0908915d 21-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> DeclPrinter, terse mode: don't print function bodies


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
d1fc82efd53ffda30f4f16041399d78f3bf0705f 21-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> Rename PrintingPolicy::DontRecurseInDeclContext to PrintingPolicy::TerseOutput
to reflect the intention, not the implementation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp
49795ae2c7cbb0845ed07b6626ac24275234e3d1 21-Aug-2012 Dmitri Gribenko <gribozavr@gmail.com> DeclPrinter: add terse output mode and lots of tests

Add a flag PrintingPolicy::DontRecurseInDeclContext to provide "terse" output
from DeclPrinter. The motivation is to use DeclPrinter to print declarations
in user-friendly format, without overwhelming user with inner detail of the
declaration being printed.

Also add many tests for DeclPrinter. There are quite a few things that we
print incorrectly: search for WRONG in DeclPrinterTest.cpp -- and these tests
check our output against incorrect output, so that we can fix/refactor/rewrite
the DeclPrinter later.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/unittests/AST/DeclPrinterTest.cpp