Commit 602f1ef
committed
Fix parsing error with right angle bracket detection
- https://github.com/SonarOpenCommunity/sonar-cxx/blob/master/cxx-squid/dox/Right_Angle_Brackets_N1757_05-0017.html
- close #2318
Sample:
```C++
auto foo(A<int>* p) {
auto a = f(std::shared_ptr<A<int>>(p));
}
```1 parent 84a3ea8 commit 602f1ef
File tree
2 files changed
+4
-1
lines changed- cxx-squid/src
- main/java/org/sonar/cxx/channels
- test/java/org/sonar/cxx/parser
2 files changed
+4
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| |||
0 commit comments