Vassil Vassilev
13687cd986
Mark as XFAIL until Axel fixes it.
2014-09-28 17:02:06 +02:00
Vassil Vassilev
122233ada6
Do not display suggestions only for ROOT.
2014-09-19 14:05:15 +02:00
Vassil Vassilev
dba2f39ff4
Print only annotate attr until type_visibility printing is fixed.
2014-09-15 14:12:06 +02:00
Vassil Vassilev
c0321e417e
Test passes.
2014-09-04 11:03:05 +02:00
Vassil Vassilev
d303a43760
Add expected warning.
2014-09-03 12:03:03 +02:00
Vassil Vassilev
efa445eb72
Reenable test.
2014-08-23 15:05:01 +02:00
Vassil Vassilev
eda6bc1949
Improve and reenable test.
2014-08-21 17:26:02 +02:00
manasij7479
9b17f43f05
Enable callback in Interpreter, change test to use metacommand
2014-08-21 17:07:01 +02:00
Vassil Vassilev
cbdc92cedb
Disable tests until the multiplexing interpreter callback comes.
2014-08-20 16:53:04 +02:00
manasij7479
282ce06530
Recheck if top level decl, workaround test problem by printing pass in a loop
2014-08-14 14:56:43 +02:00
manasij7479
3c260f9e4a
New log file name format, and skip function templates with default function arguments
2014-08-14 14:56:43 +02:00
Vassil Vassilev
7238b2eb7b
Autoloading is enabled by default.
2014-08-14 14:56:42 +02:00
manasij7479
7b99ddcfa1
Skip decls using names from defs like typedef struct {} structName
2014-08-14 14:56:40 +02:00
Vassil Vassilev
dd554c2d6e
Use #include instead of real files.
...
If we use real files cling would .x them and run a function named after the file.
In our case it is missing and would issue useless warnings.
2014-08-14 14:56:40 +02:00
Vassil Vassilev
e0874ff6a4
Improve the STL test. Now we can reenable it.
2014-08-14 14:56:39 +02:00
manasij7479
38b773ad3e
Simple test for Standard Library headers, and a few more workarounds
2014-08-14 14:56:38 +02:00
Vassil Vassilev
a3058bf045
Disable #inclusion of the generated fwd decl headers.
2014-08-14 14:56:38 +02:00
Vassil Vassilev
14fecdd942
Try #include the generated files by separate instance.
2014-08-14 14:56:38 +02:00
Vassil Vassilev
ac4ab27781
Reduce the iteration to only STL (at least on Ubu is the first include path.)
2014-08-14 14:56:37 +02:00
Vassil Vassilev
bacc8b6f08
Remove debug printout. Run in verify mode.
2014-08-14 14:56:37 +02:00
Vassil Vassilev
0065df1842
Test the fwd decl generator with all headers in the include path.
2014-08-14 14:56:37 +02:00
Vassil Vassilev
03f4edd3c1
Do not print the inherited default arguments.
2014-08-14 14:56:36 +02:00
Vassil Vassilev
53d7da9b75
No need of undo anymore.
2014-08-14 14:56:35 +02:00
Vassil Vassilev
d8f6659dcc
Improve support for enum redeclaration.
2014-08-14 14:56:35 +02:00
Philippe Canal
576ca3ca96
Remove trailing spaces
2014-08-13 16:08:36 +02:00
Vassil Vassilev
a833661f08
Fix failing test.
2014-07-25 13:18:01 +02:00
manasij7479
662262e3ac
Rename SetAutoloadCallback to EnableAutoloading
2014-07-22 14:52:04 +02:00
manasij7479
03e5ef7668
Prevent printing non-fixed enums Remove skipping of system headers Also, do not print default template arguments if they do not have a name.
2014-07-22 14:52:04 +02:00
manasij7479
a812b2cd1d
Added a function to attach the AutoloadCallback automatically
2014-07-22 14:52:03 +02:00
manasij7479
083ab88d81
Modified test to include a function with a default arg
2014-07-22 14:52:03 +02:00
manasij7479
e7a196dcbd
Transformation-Callback Pipeline for Decls needing special handling (when defining after being forward declared.)
...
New state in Interpreter (AutoloadingStateInfo) containing a map.
AutoloadingTransform adapted to push required decls into this map.
AutoloadCallback adapted to be called when a file is included (but before being parsed)
(done by enabling PPCallbacks and overriding InclusionDirective method)
m_PPCallbacks changed from OwningPtr to a normal pointer as an workaround for double free bug.
Default template arguments as a POC example usage of this pileline.
Test:
AutoForwarding.C now passes because of this commit.
Extra:
Re-enabled the printing of class template default arguments when generating fwd declarations.
Forward declprinter now looks up the SourceManager for file name instead of directly printing the Argument.
2014-07-22 14:52:02 +02:00
manasij7479
2e3e929a41
Skip functions and vars with nested types and new failing enum tests
2014-07-22 14:52:02 +02:00
Vassil Vassilev
1fd7010509
Remove the XFAIL, the test doesn't fail anymore.
2014-06-24 11:26:57 +02:00
Manasij Mukherjee
f474d63079
Generation of forward declarations of top level decls in an input file.
...
Consists of:
ForwardDeclPrinter, adapted from clang::DeclPrinter
Interpterer::GenerateAutoloadingMap for invoking the functionality
It has hardcoded checks to prevent ForwardDeclPrinter from visiting decls from
standard library files. This restriction will be lifted after the
issues specifyed in the tests are fixed.
Test cases for code which FowrardDeclPrinter can not deal with properly
2014-06-23 14:37:03 +02:00
manasij7479
983abbe17b
split out failing stl test
2014-06-10 15:24:01 +02:00
manasij7479
297d005617
other fixes
2014-06-10 15:24:01 +02:00
manasij7479
46d8d76d80
modified tests
...
(cherry picked from commit 77316a2838c5037feff8091bb5c0919bc59d6b16)
2014-06-04 10:06:03 +02:00
manasij7479
0a0da4f26d
enum test for template
...
(cherry picked from commit ce717aac63c7bd29e836106e255df98b23c4fdb3)
2014-06-04 10:06:02 +02:00
manasij7479
c7e56b7ea1
enum test for C++11 enum class, does not have C enums yet
...
(cherry picked from commit 9b7d0c5260f79b321b8b21b3c19da3e8c507aa11)
2014-06-04 10:06:01 +02:00
manasij7479
cee01f1a13
added a function and a trait util from stl
...
(cherry picked from commit 2ea8127e629ee26a48bbaeda8da935dbe04d7ebe)
2014-06-04 10:06:00 +02:00
manasij7479
58a58d2ed1
added some stl forward decls
...
(cherry picked from commit 365737c218defce09bbceca2119f396236564c99)
2014-06-04 10:06:00 +02:00
manasij7479
01a4bf5e5b
Initial tests for verifying forward declarations
...
(cherry picked from commit c9b5a07d5cd83100862e067ccff189e10c666f9b)
2014-06-04 10:06:00 +02:00