Commit Graph

2500 Commits

Author SHA1 Message Date
Axel Naumann
3d69da22fd Remove unneeded static member decls; mark c'tor, d'tor as deleted. 2014-10-14 09:08:06 +02:00
Vassil Vassilev
0764694c14 Do not try to fixup return statements in lambdas. 2014-10-08 17:42:04 +02:00
Axel Naumann
556ac8c3dc Use canonical Decls as key for "do not desugar"; may have dupe Type*s. 2014-10-07 22:20:06 +02:00
Vassil Vassilev
a83d3bafe3 Check if the paren stack has elements first. 2014-10-06 19:12:02 +02:00
Vassil Vassilev
32d06e92f0 Add the expected string also. 2014-10-06 15:44:09 +02:00
Vassil Vassilev
5d672fe795 Improve " and ' balancing. Fixes ROOT-6791. 2014-10-06 15:44:09 +02:00
Axel Naumann
0bc17f63c4 Pass the .L-ed transaction to actOnxCommand; last transaction might be wrong. 2014-10-06 10:40:10 +02:00
Anirudha Bose
365133992a Need to encode Debian changelog to UTF-8 2014-10-05 21:56:08 +02:00
Anirudha Bose
3b8577fc5f Auto-detect Clang version. Remove hard-coded Clang version in dist-files.mk 2014-10-04 11:47:04 +02:00
Axel Naumann
ade6726f11 Remember failures from autoload directives: they are likely persistent. 2014-10-03 14:35:04 +02:00
Anirudha Bose
09c43b9300 Fix #51: Handle subprocess.CalledProcessError 2014-10-02 20:08:02 +02:00
Axel Naumann
886396e7c6 Set FE cache, invalid (=null) FE is a reasonable cached value, too. 2014-10-02 16:33:01 +02:00
Axel Naumann
fd9f5defab Mention current failure rate of Sema unloading tests. 2014-10-02 16:20:03 +02:00
Axel Naumann
fa81acda97 Rewire redecl chains if an element gets unloaded. 2014-10-02 16:20:03 +02:00
Axel Naumann
ad3f84987b -Xclang -x is insufficient; add -c - at the end (-x is position dependent). 2014-10-02 16:20:03 +02:00
Axel Naumann
0a73f180e6 Determing cling location from script location. 2014-10-02 16:20:03 +02:00
Bertrand Bellenot
a3b2f82dad Fix compilation errors on Windows (constexpr is not known by standard MSVC compiler) 2014-10-02 14:44:05 +02:00
Axel Naumann
6d7401e81f Optimization: check against previous file name and use its FileEntry. 2014-10-02 14:27:07 +02:00
Bertrand Bellenot
f03fa76597 Re-introduce correct include directories search path when building standalone Cling on Windows 2014-10-02 12:40:04 +02:00
Anirudha Bose
34023274e2 Remove Python 3 warning in --check-requirements 2014-10-02 10:09:36 +02:00
Anirudha Bose
2e10af4cee Use UTF-8 standard to decode bytes object to str 2014-10-02 10:09:36 +02:00
Anirudha Bose
f86229f459 Make wget functionality compatible with Python 3 2014-10-02 10:09:35 +02:00
Anirudha Bose
19430a0367 Convert bytes object to str for Python 3 2014-10-02 10:09:35 +02:00
Philippe Canal
2febce4e88 Revert remove trailing space for interpreter/cling/test/Prompt/MetaProcessor/Regression.C 2014-10-02 09:45:05 +02:00
Philippe Canal
d0c5e588c5 Revert "Remove trailing spaces" in interpreter/cling/tools/packaging/dist-files.mk
This partially reverts commit a6bc8d715a79f578e5fe0cf18e46af92ff507fd7.
2014-10-02 02:42:07 +02:00
Vassil Vassilev
6101769c89 Use the correct extension. 2014-10-01 18:39:07 +02:00
Robert Xiao
504cd078e5 Make Python scripts Python3-compatible 2014-10-01 18:39:05 +02:00
Vassil Vassilev
8162fdd340 We do not own our ExternalSemaSource, it is ref-owned by Sema and ASTContext. 2014-10-01 14:24:13 +02:00
Vassil Vassilev
5563ab3d68 Revert "Fix cling tear down crash involving the ExternalSemaSource."
This reverts commit d320b74acf5172f62b8ac565955ea6497688d225.
2014-10-01 14:24:12 +02:00
Vassil Vassilev
ddf2b82205 Fix cling teardown issues when a pch is attached. Kudos to Axel. 2014-10-01 14:24:12 +02:00
Vassil Vassilev
a4d09be9e2 Move the pch input file in Inputs folder. 2014-10-01 14:24:12 +02:00
Vassil Vassilev
a8ccf3468c Add a test exposing an issue with the unloading of inlined functions coming from a pch/pcm. 2014-10-01 14:24:12 +02:00
Vassil Vassilev
f3e4d96ffc Remove the pch. It is generated by the test. 2014-10-01 14:24:11 +02:00
Vassil Vassilev
766030c1e0 Add test for unloading of vtables coming from a pch/pcm. 2014-09-30 17:34:12 +02:00
Vassil Vassilev
2e202367f3 Handle cases such as -xc, i.e no space between x and c. 2014-09-30 17:34:12 +02:00
Vassil Vassilev
2bf85a34c4 BUILD_CLANG_ONLY=YES builds also libclang, we don't want this. 2014-09-30 11:30:19 +02:00
Vassil Vassilev
023ee33e8e Build only clang. 2014-09-29 22:27:04 +02:00
Vassil Vassilev
261a7bcb44 Add the ASTContext which will provide clang::Attr's operator new. 2014-09-29 16:03:04 +02:00
Vassil Vassilev
a6e5bb5300 Do not deserialize decls, while iterating to unload. 2014-09-29 15:51:10 +02:00
Vassil Vassilev
08a9274c02 Mark implicit members coming from a PCH as used.
Implicitly generated members from a CXXRecordDecls coming from a PCH should not be
unloaded. CodeGen 'records' that it once emitted the implicit members and if they
get unloaded it would be out of sync. The key difference is the information about
all the implicitly generated members (trivial ctors/dtors, etc) comes from an
ASTMutationListener and they are not part of the transaction. We still do not
record it as a part of the transaction, we just mark them as used so that they
don't get unloaded from the llvm::Module.

Once the list of llvm.used decls is emitted we need to clear it, otherwise we
end up emitting one and the same thing over and over.

Fixes ROOT-6722
Tests should be coming shortly.
2014-09-29 15:51:10 +02:00
Vassil Vassilev
f8b513b63a Remove obsolete test. It meant to test autoloading based on ctags, which is gone now. 2014-09-28 22:45:04 +02:00
Vassil Vassilev
0e80daaf85 Build only for the host target. 2014-09-28 18:13:03 +02:00
Vassil Vassilev
13687cd986 Mark as XFAIL until Axel fixes it. 2014-09-28 17:02:06 +02:00
Vassil Vassilev
ddbe9dda2c Remove empty spaces. 2014-09-28 17:02:06 +02:00
Robert Xiao
e2c78ae27e Use check_call and check_output for subprocess 2014-09-28 17:02:06 +02:00
Vassil Vassilev
c69c0e370e No new lines on the config line. 2014-09-28 13:28:01 +02:00
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