Commit 3a8dfca
[cxxmodules] Filter out source locations.
.typedef command in ROOT prints the format:
Vector4Dfwd.h -1 typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> >ROOT::Math::XYZTVector
Where -1 signals that the typedef is in an ASTFile (PCH or PCM) or displays
a line number otherwise.
This PR moves the information in a module and makes the seen source location
-1 which differs from the one in the ref file. We have another ref file
called output.ref-5 which contained -1 as it was the behavior of CINT 5.
We cannot reuse this ref file because our typedef location information is
more accurate and it says it is in mycl.C rather than mycl.so.
This patch removes the source location from the expected and seen output.1 parent bbdfbd6 commit 3a8dfca
File tree
3 files changed
+3
-2
lines changed- cling/typedef_global
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments