Commit Graph

2354 Commits

Author SHA1 Message Date
Vassil Vassilev
bfafe8db57 Speed up the test builds. Run make install in the root build dir. 2014-09-28 12:57:00 +02:00
Vassil Vassilev
e0ed6c4887 Also do a make install before testing. 2014-09-28 11:51:12 +02:00
Axel Naumann
8c4f91bfe8 Add test for ROOT-5467. 2014-09-26 16:54:02 +02:00
Axel Naumann
69d6c4e992 Handle member fun ptr (ROOT-5467). 2014-09-26 16:08:06 +02:00
Axel Naumann
7f1e4f4383 Protect from skipping function template patterns. 2014-09-26 16:08:06 +02:00
Yegor
93d1140a38 reference REPL is a way most people will recognize 2014-09-26 12:45:09 +02:00
Axel Naumann
16b653da0e Use the fully qualified name. 2014-09-26 12:45:09 +02:00
Vassil Vassilev
79c63615f7 Recompile once more due to the little travis resources. 2014-09-25 22:18:10 +02:00
Vassil Vassilev
92c24fb660 Add link to the last travis build result. 2014-09-25 20:50:11 +02:00
Vassil Vassilev
696c891874 Checkout cling patches. 2014-09-25 20:31:01 +02:00
Vassil Vassilev
2b259522d9 Add a Travis-CI driver for github builds. 2014-09-25 20:31:01 +02:00
Robert Xiao
2c98c81895 Fix Markdown formatting and update CPT link. 2014-09-25 19:56:07 +02:00
Robert Xiao
1b99067bb0 Fix LLVMRevision source URL in cpt.py
LLVMRevision is being retrieved from an old URL, which contains the wrong LLVM revision. Update it to point at the current cling repository.
2014-09-25 19:56:07 +02:00
Vassil Vassilev
90934a440b Me interacting with MD is always fun. Fix layout and inclusion header. 2014-09-25 10:26:09 +02:00
Vassil Vassilev
2c3a912949 Don't forget the new line. 2014-09-25 10:18:01 +02:00
Vassil Vassilev
6b0e19e268 Document that cling driver can be given statements to execute. 2014-09-25 09:59:21 +02:00
Axel Naumann
35b8c20ce2 For template instances, forward declare its arguments.
Still missing a fwd decl of explicit instantiations!
2014-09-24 12:08:12 +02:00
Axel Naumann
5b5fa04652 Declare outermost namespace first. 2014-09-23 20:56:08 +02:00
Axel Naumann
5b4a3bacf8 Decls as template params need to be buffered to their stream. 2014-09-23 20:56:07 +02:00
Axel Naumann
dec7f9f964 Write declcontext for each visit; delay template <...>.
Writing the template parameters might cause visitation of other decls which need to be in their respective
namespaces. Thus we need to buffer / delay the whole template decl, including its enclosing namespaces.
As we forward e.g. from ClassTemplateInstanceDecl() to RedeclarableTemplateDecl() we need to
selectively write the enclosing namespaces, no just for any Visit(Decl*). Make sure that a template pattern
is not again writing its enclosing scopes - it is just called from its VisitRedeclarableTemplateDecl().
2014-09-23 20:56:07 +02:00
Axel Naumann
ce0b0f205d Remove skip counting; centralize skip logging. 2014-09-23 20:56:07 +02:00
Axel Naumann
80669dfac8 Write to Out() not Log()! 2014-09-23 20:56:06 +02:00
Axel Naumann
2facc626bf Actually print the enclosing DeclContexts. 2014-09-23 20:56:06 +02:00
Axel Naumann
f0f6835a22 extern "C" is printed by the decl itself. 2014-09-23 20:56:06 +02:00
Axel Naumann
c216c82cde Let decls print their decl context. 2014-09-23 20:56:05 +02:00
Axel Naumann
a205da3696 Delay template parameters until its dependencies have been visited. 2014-09-23 20:56:05 +02:00
Axel Naumann
01f499d143 No need for a sub-stream; we reset m_SkipFlag. 2014-09-23 20:56:05 +02:00
Axel Naumann
52fb16d57f Automatically stream to parent if not skipped. 2014-09-23 20:56:05 +02:00
Axel Naumann
3db7197ea9 Fix fatal spelling error. 2014-09-23 20:56:04 +02:00
Axel Naumann
910832a807 Even fwd decl outside TU context. Visit tmplt arg types. 2014-09-23 20:56:04 +02:00
Axel Naumann
7cb4bbbaf7 Do not use (non-0-term) data(); factor out the tag. 2014-09-22 16:36:23 +02:00
Axel Naumann
1027dd6e90 Introduce ASTContext member. 2014-09-22 16:36:23 +02:00
Axel Naumann
1881fd13bf Desugar to simplify the type. 2014-09-22 16:36:23 +02:00
Axel Naumann
c2d0508988 Skip if needed when visiting template args. 2014-09-22 16:36:22 +02:00
Axel Naumann
585be00d64 Do not stream const vars; for static ones, do not print "extern". 2014-09-22 16:36:22 +02:00
Axel Naumann
fdadde3cd7 Handle DeclRefExp template args. 2014-09-22 16:36:22 +02:00
Axel Naumann
6aeb3289e1 Make sure we have a cling autoload annotation. 2014-09-22 16:36:22 +02:00
Vassil Vassilev
c1a2415305 Spelling. 2014-09-20 21:56:03 +02:00
Vassil Vassilev
7efdd91555 Do not skip comments in strings. Fixes ROOT-6692. 2014-09-20 21:38:18 +02:00
Pere Mato
052db346d8 Finish - Do not display suggestions only for ROOT. 2014-09-20 16:25:06 +02:00
Vassil Vassilev
122233ada6 Do not display suggestions only for ROOT. 2014-09-19 14:05:15 +02:00
Axel Naumann
6c3d42eaee Write function fwd decls! Follow DeclRefExpr template args. 2014-09-19 11:17:05 +02:00
Axel Naumann
706874e879 Silence warning. 2014-09-19 00:18:04 +02:00
Axel Naumann
f630fd58ed Fix position of "inline" in "inline namespace" (MacOS G__MathCore failure). 2014-09-18 23:49:03 +02:00
Axel Naumann
82c69767d9 Fix mem corruption: iterator might be invalidated by insertion. 2014-09-18 23:28:04 +02:00
Axel Naumann
fa7ce40d67 Analyze and fwd declare all dependencies (ROOT-6705 ROOT-6719 ROOT-6712 ROOT-6695). 2014-09-18 23:28:04 +02:00
Axel Naumann
922f3c678b Also fwd declare types nested in namespaces. 2014-09-18 23:28:04 +02:00
Philippe Canal
443fe10fd8 Properly handle the template template args in global scope.
Also properly handle the case where the template template argument as a partially qualified scope
2014-09-18 02:32:02 +02:00
Philippe Canal
29746d4caf Add support for fully qualifying a template argument that is itself a template.
This is the case for example with gcc's

  __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool,true>

where __pool is actually a class template.

Also reduce (a little bit) code duplication.
2014-09-18 02:32:02 +02:00
Philippe Canal
42da1a112a Revert "Add support for fully qualifying a template argument that is itself a template."
until we understand the negative side-effects.

This reverts commit 19f18e848d50bd44a011e8cf192f56d73e28bf65.
2014-09-17 23:06:01 +02:00