Commit Graph

2461 Commits

Author SHA1 Message Date
Vassil Vassilev
9ec9b36a4a File can become 0 if #include-ing non-existant file. 2014-08-21 17:07:03 +02:00
Vassil Vassilev
b538604dc0 Remove the non-working implementation of multiplexing callback. 2014-08-21 17:07:02 +02:00
Vassil Vassilev
0246d5f0b0 Move the multiplexing callbacks in lib. Simplify. 2014-08-21 17:07:02 +02:00
Vassil Vassilev
f4c946a68d AnnotateAttr::setAnnotation needs the decl of operator new. 2014-08-21 17:07:02 +02:00
Vassil Vassilev
46d3344ca0 Add constness. 2014-08-21 17:07:02 +02:00
manasij7479
04b8928a3f Bypass short circuit evaluation 2014-08-21 17:07:02 +02:00
manasij7479
70f01ae5ed MultiplexInterpreterCallbacks 2014-08-21 17:07:02 +02:00
manasij7479
c050cd0272 Put DeclFixer logic in AutoloadingVisitor 2014-08-21 17:07:02 +02:00
manasij7479
4b86baea4b Remove AutoloadingTransform and use the TransactionCommitted callback 2014-08-21 17:07:02 +02:00
manasij7479
2949be0831 Remove backslash from comment, to fix doxygen warnings 2014-08-21 17:07:01 +02:00
manasij7479
9b17f43f05 Enable callback in Interpreter, change test to use metacommand 2014-08-21 17:07:01 +02:00
manasij7479
fb83dfe1fd Generate log statement for all skipped decls, also fixes a restrict bug 2014-08-21 17:07:01 +02:00
Bertrand Bellenot
dd7daa6d3d Replace uint by unsigned int (fixing compilation error on Windows) 2014-08-21 15:19:02 +02:00
Axel Naumann
3638cde9b7 From Dario Pellegrini: use $(PYTHON) instead of python.
Fixes building cling on ArchLinux; that stopped the building as python3 was called instead of python2.
2014-08-21 10:57:03 +02:00
Vassil Vassilev
cbdc92cedb Disable tests until the multiplexing interpreter callback comes. 2014-08-20 16:53:04 +02:00
Vassil Vassilev
2440257f5b Split the generation of autoloading maps into parser and fwd declarer. 2014-08-20 15:27:07 +02:00
Axel Naumann
6f456b59d0 interpreter/cling/lib/Interpreter/AutoloadingTransform.cpp
#include definition of new[] with ASTCtx placement.
2014-08-20 12:34:00 +02:00
Vassil Vassilev
cda43d3b52 setSeverity can take invalid source location. Fixes asserts.
The underlying issue is the setSeverity method compares if the given
source location was before or after a push diagnostic mappings (pragma push).
The problem is that we 'give' a wannabe source location, because the
memory buffer (which will expand it to a real source location) is not
parsed yet. Thus the pseudo-valid source location looks like a location
came from a pch, which causes a misbehavior in the logic of comparer.
2014-08-19 14:04:00 +02:00
Vassil Vassilev
b9924057b4 Fix failing test on roottest side. 2014-08-19 11:07:06 +02:00
Anirudha Bose
b9f5ccf55c Implement #29: Add support for --create-dev-env 2014-08-19 10:18:06 +02:00
Anirudha Bose
aa4a20c3ab Add support for --current-dev=pkg and --last-stable=pkg 2014-08-19 10:18:06 +02:00
Anirudha Bose
72cab550ee Close #31: Update README.md to add CPT details 2014-08-19 10:18:06 +02:00
Anirudha Bose
27356beda1 Update CPT documentation for RPM and DMG bundles 2014-08-19 10:18:06 +02:00
Anirudha Bose
f182d64afc Use cling-patches branch instead of ROOT-patches in CPT 2014-08-19 10:18:06 +02:00
Anirudha Bose
2fb5acd8a8 Update CPT usage in README.md 2014-08-19 10:18:05 +02:00
Vassil Vassilev
6bbc4fa200 Disable feature until we get the upgrade settled. 2014-08-15 14:53:01 +02:00
Axel Naumann
3fabc251b0 Force inclusion of throwNullDerefException(), CMake needs it. 2014-08-15 14:42:06 +02:00
Vassil Vassilev
369c3e5427 Break only if the condition is held. 2014-08-15 13:18:03 +02:00
Vassil Vassilev
212259918a Implement continuation for #if* #endif. 2014-08-15 12:34:00 +02:00
Vassil Vassilev
c38d4dc5b4 Register for notifications by Sema. 2014-08-15 12:34:00 +02:00
Axel Naumann
43c4ef1026 Disable; it fails roottest/root/io/evolution/libint.log. 2014-08-14 17:10:05 +02:00
Axel Naumann
14ee514d75 Improve diag text. 2014-08-14 17:10:05 +02:00
Axel Naumann
e2f097927a The op new[] is unimplemented; Vassil is preparing a bug report. 2014-08-14 16:47:04 +02:00
Vassil Vassilev
729a459976 Handle TemplateTemplateParmDecls and stripping of their default args. 2014-08-14 15:44:02 +02:00
Vassil Vassilev
5194c7811b Each annotation came from a single top most file. Walk up the loc chain.
STL contains a lot of forwarding headers. For example map forwards to bits/stl_map.
However we still need to annotate the decls that came from stl_map as if they
came from map, because semantically we would like to autoload/show hints about
map and not some 'interesting' stl implementation.

This is why we need to reconstruct the include chain and write out the second
includer. The first one is the prompt's input_line_N.
2014-08-14 15:44:02 +02:00
Vassil Vassilev
330cdb6086 Use VisitXXX instead of TraverseXXX. TraverseXXX dispatches to VisitXXX.
Call VisitDecl to collect which is the file checkpoint on which we should react.

Move implementation of stripping the default args close to one another.
2014-08-14 15:44:02 +02:00
Vassil Vassilev
d1dcad54cd Do not abort the in-depth visitation. 2014-08-14 15:44:02 +02:00
Vassil Vassilev
3b8331942c Enter here only if we are collecting autoloading checkpoints. 2014-08-14 15:44:02 +02:00
Axel Naumann
e8b44912d7 Fix logic warning. 2014-08-14 15:13:02 +02:00
Vassil Vassilev
0aa2a31fa0 llvm::OwningPtr is now std::unique_ptr. 2014-08-14 14:56:44 +02:00
Vassil Vassilev
7d8b4d55ec Restrict the param count check to a call without arguments. 2014-08-14 14:56:44 +02:00
Vassil Vassilev
3b87263332 Disable cling callbacks until ROOT interference is understood. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
781c0336e3 Do not try to remove VD from the DeclContext lookup. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
4511d419a2 RewriteCore is gone. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
0ad0565a0d Update to llvm/clang rev 214630. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
1871b8dde1 Do not erase the default args in collecting info mode. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
9d3dacaf89 Use the correct condition. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
3a541b38e0 Add future work to do. 2014-08-14 14:56:43 +02:00
manasij7479
b556856580 Do not blindly skip existing attributes, also fixes macro typedef redefinition issue 2014-08-14 14:56:43 +02:00
Vassil Vassilev
a415711407 Implement a shebang support in cling. 2014-08-14 14:56:43 +02:00