Frederich Munch
e641e0e837
Compress bools into bitfields.
2017-06-21 08:29:11 +02:00
Frederich Munch
f241b59b68
Remove unnecessary include.
2017-06-21 08:29:11 +02:00
Frederich Munch
e8e203bc98
Add __CLING__GNUC_MINOR__ macro.
2017-06-21 08:29:10 +02:00
Frederich Munch
1cc08e2cbe
Windows: Fix type printed for test/Utils/Transform.C
2017-06-21 08:29:10 +02:00
Frederich Munch
95c67cb818
Cleanup cruft from CreateHostTargetMachine.
2017-06-20 11:44:13 +02:00
Frederich Munch
9f84b5ebfc
Travis: Pangolin containers now timeout as well.
2017-06-19 17:30:39 +02:00
Axel Naumann
fd3738190f
Make symbols visible (ROOT-8823).
2017-06-19 16:00:56 +02:00
Axel Naumann
2177d1d4e5
Rename cling_Evaluate to EvaluateDynamicExpression.
...
"cling" is already in the namespace, and this is about DynamicExprInfo.
Thanks to Roman Zulak for the suggestion!
2017-06-19 16:00:56 +02:00
Vassil Vassilev
01d6baa5a9
Silence unused var warning.
2017-06-14 18:29:10 +02:00
Frederich Munch
f84742e218
Fix buffer overflow.
2017-06-14 17:59:39 +02:00
Axel Naumann
333fd017dc
cling runtime does not depend on llvm headers anymore.
2017-06-14 15:14:37 +02:00
Axel Naumann
85ae2c21da
Remove unused #include.
2017-06-14 15:14:36 +02:00
Frederich Munch
aef9f99c66
Travis: Use gcc-6 builds to test C++17 and CMake 3.8 (required for that).
2017-06-14 11:29:05 +02:00
Frederich Munch
5932c970b8
Travis: Only download CMake if installed version is below 3.6.
2017-06-14 11:29:05 +02:00
Frederich Munch
a74a8ee34c
Travis: Actually use gcc-7 on OS X.
2017-06-14 11:29:05 +02:00
Frederich Munch
4e324c1599
CPT: Add runSingleTest method to invoke a single test on CI for better messaging.
2017-06-14 11:29:05 +02:00
Frederich Munch
96f86e79a9
CPT: Consolidate path joining to global variable LLVM_OBJ_ROOT.
2017-06-14 11:29:05 +02:00
Frederich Munch
981e2f61f3
Fix typo.
2017-06-14 11:29:05 +02:00
Axel Naumann
0889fabd03
Fix full build: runtime of cling does not need Interpreter.h anymore.
2017-06-14 11:14:04 +02:00
Axel Naumann
57c96a28a9
Runtime needs the definition of DynamicExprInfo.
2017-06-14 10:59:08 +02:00
Axel Naumann
2faf5c2400
Make sure we use the definition as lookup scope.
2017-06-14 09:30:01 +02:00
Axel Naumann
fdd3c17a59
Now that Interpreter.h is not needed by the runtime, #include StringRef to make it usable.
2017-06-14 09:30:01 +02:00
Axel Naumann
212ad1b7d1
Outline calls to Interpreter::Evaluate() to not #include "Interpreter.h" in the runtime.
2017-06-14 09:30:00 +02:00
Raphael Isemann
8bdca9bc29
Fixed formatting.
2017-06-13 14:30:47 +02:00
Raphael Isemann
ca887faea0
Fix Interpreter::getMacro returning 0 when using modules.
...
The old code didn't query the modules if the identifier
is updated. This caused some checks to fail such as
CheckABICompatibility().
2017-06-13 14:30:47 +02:00
Raphael Isemann
55702c056b
Don't overwrite the ExternalSemaSource in the modules case. ( #538 )
...
The modules implementation provides it's own sema source and
overwriting this confuses clang when we have -fmodules enabled.
2017-06-13 14:30:47 +02:00
Roman Zulak
2806ec0f61
Warn if lambdas in global scope use copy capture.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-12 18:14:31 +02:00
Roman Zulak
6a8632d451
Fix trying to destruct C structs after printing on prompt. Don't bother destructing C++ objects who have trivial destructors.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-12 18:14:30 +02:00
Philippe Canal
82d3a54e37
Better adaptation of Module.mk to new llvm
2017-06-11 11:29:13 +02:00
Axel Naumann
48aa4b9096
Remove hack, now that clang pulls the init symbol name from the Module!
...
This depends on the commit under review here: https://reviews.llvm.org/D34059
2017-06-10 10:29:06 +02:00
Axel Naumann
67cceed590
Do not only set the const char* but the whole StringRef of the MainFile.
...
Fixes a memory corruption seen after the llvm upgrade. This is still a terrible hack;
it will be replaced by a proper fix in clang::CodeGen (coming up).
2017-06-09 23:29:06 +02:00
Roman Zulak
aea1940093
Sort filenames before printing them in ClangInternalState. Cache entries being invalidated are causing the map order to change.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-09 17:45:51 +02:00
Roman Zulak
70bf1a3e8b
Don’t invalidate the Transaction’s FileEntry if verifying diagnostics.
...
Remove check before insertion into set.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-09 17:45:51 +02:00
Roman Zulak
11047754ae
Travis: Add gcc-7 targets.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-09 17:45:51 +02:00
Roman Zulak
6544ea53a0
Travis: Remove gcc-4.7 targets, LLVM-5 requires 4.8.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-09 17:45:50 +02:00
Roman Zulak
9ea5a480da
Remove dead code from LLVM upgrade.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-06-09 17:45:50 +02:00
Philippe Canal
72a18c92ab
Adapt Module.mk to new llvm
2017-06-08 18:44:09 +02:00
Vassil Vassilev
359fa4132d
Forward to more-up-to-date repository
2017-06-08 15:44:37 +02:00
Vassil Vassilev
49dd5a0237
Note the upgrade.
2017-06-08 15:44:37 +02:00
Vassil Vassilev
45209f520a
The llvm conversion routines went into namespace llvm.
2017-06-08 10:29:13 +02:00
Vassil Vassilev
f10a89efb1
Remove on_clone, it doesn't exist anymore in llvm.
2017-06-08 10:29:13 +02:00
Vassil Vassilev
b2a4fbbcf4
Configure cling from the outside. Reduces the ROOT-patches branch.
2017-06-08 10:29:13 +02:00
Vassil Vassilev
289da02b9b
New version of StringRef brings a bunch of includes in etc.
...
Instead of copying over more includes, outline the only function in the
Interpreter which requires a full definition of llvm::StringRef.
2017-06-08 10:29:13 +02:00
Vassil Vassilev
8f257e74d3
Create a virtual file entry for each input line.
...
This is the only way not to confuse the diagnostics engine of upgraded clang.
Also, this gives us a few advantages:
* We can compare more precisely the source locations of diagnostics;
* We can merge the code completion code path which works with file entries;
* We can rely better when specifying //expected-note-s in different files.
2017-06-08 10:29:13 +02:00
Vassil Vassilev
a1bd767b6b
Adapt to interface changes due to upgrade to r302975.
2017-06-08 10:29:13 +02:00
Frederich Munch
1e7b6619f5
Travis: Distribute OS X builds more evenly (for wait/queuing purposes).
2017-06-07 15:44:28 +02:00
Frederich Munch
f6c077a10d
Travis: Re-enable build on Xcode - 6.4. This allows testing on 10.9.5 as well as older versions of libc++.
2017-06-07 15:44:28 +02:00
Frederich Munch
6dd2867533
Travis: Fix gcc-6 on OS X.
2017-06-07 15:44:28 +02:00
Vassil Vassilev
145d7f81de
Start new development line.
2017-06-06 17:14:03 +02:00
Vassil Vassilev
c8043d6a31
Remove dangling statement.
2017-06-06 15:45:25 +02:00