424 Commits

Author SHA1 Message Date
Axel Naumann
3a80d08010 __float128 decl not needed anymore since clang r184476. 2014-01-17 09:45:14 +01:00
CristinaCristescu
1465ec4d8a Warning and error fix.
(cherry picked from commit 9eb5a29d7c6d6430fb70a76f19b9a0e6d259da62)
2014-01-15 17:10:54 +01:00
Axel Naumann
618d574582 Missing change for be0b571. 2014-01-15 15:52:58 +01:00
Axel Naumann
0e51c64077 Follow current clang/llvm Option syntax (late fix from llvm/clang upgrade). 2014-01-15 15:52:58 +01:00
Axel Naumann
9b27f187aa Need virtual d’tors (XCode warning) 2014-01-15 15:52:57 +01:00
Axel Naumann
f9b047d85f Use the portable FILE. 2014-01-15 14:14:55 +01:00
CristinaCristescu
b3ba3f5804 Redirect changes touse SmallString. 2014-01-15 12:02:04 +01:00
CristinaCristescu
c9ec997188 Redirection special 2>&1 case. 2014-01-15 12:02:04 +01:00
CristinaCristescu
6296b84ab3 Changes to redirection. 2014-01-15 12:02:03 +01:00
CristinaCristescu
0ec0ba48b6 Change redirection from Interpreter to MetaProcessor. 2014-01-15 12:02:03 +01:00
CristinaCristescu
d30b5a0a23 Change flag for redirection.
correct
2014-01-15 12:02:03 +01:00
CristinaCristescu
34dfd69b53 Redirect err. 2014-01-15 12:02:03 +01:00
CristinaCristescu
b4e3a9b6b5 Redirect 2014-01-15 12:02:02 +01:00
Axel Naumann
44481ace1e Fix license; remove $Id$ version. 2014-01-07 11:14:04 +01:00
Axel Naumann
5da6e646a5 Correct licenses in Makefiles. 2014-01-07 11:13:56 +01:00
Axel Naumann
c73e6eb493 Re-implement (explicitly) handling of typedefs as nested name specs: TD::A.
This got lost in 2b6ae0aed / 96a4437c8 where typedefs were handled.
Simplify logic (and thus shorten code).
Fixes error in roottest/root/tree/addresses:
Error in <TStreamerInfo::Build>: Embedded_objects, unknown type: EmbeddedTypedef::Embedded3 m_emb4
2014-01-06 18:27:00 +01:00
Philippe Canal
6850b1db86 Add IsStdOrCompilerDetails 2013-12-17 15:58:55 +01:00
Philippe Canal
3216896e6e Declare local function static (For consistency) 2013-12-17 15:58:54 +01:00
Philippe Canal
a3499ac49a Declare namespace-like classes to be namespace 2013-12-17 15:58:54 +01:00
Bertrand Bellenot
e443f83a0b Fix a compilation error C2872: 'Value' : ambiguous symbol on Windows 2013-12-11 14:29:50 +01:00
Axel Naumann
c1c49658e2 Adjust sizeof(m_Buf) now that we have a new member. Re-order to avoid padding.
(cherry picked from commit d5508a3c3b963928270933f307dab97a2d1630bf)
2013-12-10 10:34:11 +01:00
Axel Naumann
7dffdfc1bd Destruct the Value. Needs Interpreter and thus interface adjustments.
(cherry picked from commit da54d73c5cb6dedc9159f52467f016493ec25338)
2013-12-10 10:34:10 +01:00
Axel Naumann
b4dea2cde6 Interpreter::compileFunction(): compile this function and give me its address.
(cherry picked from commit 04de3a90cddb2718dc263ee104854b5395bfd869)
2013-12-06 15:36:00 +01:00
Vassil Vassilev
50a1acade4 Make members local, so that they will close and flush earlier. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
51d27bf1e5 Improve uncaching of unloaded files.
*Merge PreVisitDecl and PreVisitMacro and rename to CollectFilesToUncache.
*Add FID to the transaction storing the memory buffer file ID caused the
transaction.
2013-12-06 12:03:33 +01:00
Vassil Vassilev
384196310c Improve style. 2013-12-06 12:03:32 +01:00
Axel Naumann
a1e922c839 Remove stray ; 2013-12-04 20:37:59 +01:00
Axel Naumann
0eb9ac042f Make full qualification an option.
Allows GetPartiallyDesugaredType() and GetFullyQualifiedName() to share functionality.
2013-12-04 19:09:59 +01:00
Axel Naumann
97987030f5 Move several TypeName functions from MetaUtils to cling/Utils.
They were once identical but then got bug fixed out of sync.
Moved routines:

GetFullyQualifiedLocalType()
GetFullyQualifiedType()
CreateNestedNameSpecifier()
CreateNestedNameSpecifierForScopeOf()
GetFullyQualifiedTypeNNS()
2013-12-04 19:09:59 +01:00
Axel Naumann
67f5e5bf64 Add option to disable rollback. Handle missing ExecEngine. 2013-12-02 13:53:30 +01:00
Fons Rademakers
523b65eb7b Make sure _LIBCPP_EXTERN_TEMPLATE is not defined (used by libc++).
The default definition of this macro causes extern template
symbols to be undefined when running with cling. It has been fixed in
the meanwhile in the libc++ sources but the libc++ that ships with OSX 10.9
still has this macro defined. For the discussion on this see:
http://clang-developers.42468.n3.nabble.com/LIBCPP-INLINE-VISIBILITY-and-std-string-length-td4030879.html
and
http://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg79202.html
2013-11-27 12:49:00 +01:00
CristinaCristescu
49a39b3deb Fix warnings from Macros. 2013-11-26 15:18:57 +01:00
Vassil Vassilev
d74740df1d Size doesn't make sense for a transaction. Iteration doesn't cause side effects anymore. 2013-11-25 17:32:56 +01:00
Vassil Vassilev
a0912520ee Reduce the hacky-ness of the state collector setup.
The second compilerInstance doesn't need to collect anything, thus we don't
need to attach it to the PP.
2013-11-25 13:56:02 +01:00
CristinaCristescu
1d06b2725b Workaround multiple DeclCollector instances. 2013-11-25 13:56:02 +01:00
CristinaCristescu
d6e2f85d1c Fix and improve macro error recovery. 2013-11-25 13:56:02 +01:00
CristinaCristescu
5d42bd5e8c Improvements on Macro removal. 2013-11-25 13:56:02 +01:00
CristinaCristescu
46f07198b0 Add comments and fix trailing spaces. 2013-11-25 13:56:01 +01:00
CristinaCristescu
85b4232729 Revert macro def for error recovery. 2013-11-25 13:56:01 +01:00
CristinaCristescu
0490caaa99 Macro recovery 2013-11-25 13:56:00 +01:00
Philippe Canal
c423ae3bc8 Add LookupHelper::findDataMember to retrive a field or variable. 2013-11-19 04:37:11 +01:00
Vassil Vassilev
dfcb11ad0b Document a parameter. 2013-11-15 16:10:02 +01:00
Vassil Vassilev
d70c1702dc Ignore the noise coming from the lazily-created builtins. 2013-11-14 15:24:03 +01:00
Philippe Canal
388271f9e9 Add cling::LookupHelper::findFunctionTemplate
Given a context and a name (and a constness), return the corresponding
function template decl.
2013-11-13 19:46:00 +01:00
Bertrand Bellenot
d9f80eb51b Use canonicalized absolute pathname
This should fix Jira #ROOT-5636 Be more precise on whether a shared library was loaded
2013-11-11 12:19:59 +01:00
Philippe Canal
6f87119b4b Add LookupHelper::findAnyFunction 2013-11-02 13:55:02 +01:00
Axel Naumann
ceaa2ce579 Add documentation. 2013-10-31 12:59:55 +01:00
Vassil Vassilev
91c54bda2e Add more handy interface that takes a number of transactions to be rolled back. 2013-10-29 20:19:25 +01:00
Vassil Vassilev
69eb1a59a6 Enforce integrity of getGlobalAddress, too. 2013-10-29 20:19:19 +01:00
Vassil Vassilev
a97a2811c9 maybeMangleDeclName should take GlobalDecl. This enforces integrity. 2013-10-29 20:19:17 +01:00