-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CXX: Avoid accessing token after it has been destroyed (#2586)
- Loading branch information
1 parent
1cae951
commit b4574f0
Showing
4 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--sort=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
__anonbbb2b4710108 input.c /^{$/;" s file: | ||
n input.c /^ int*n;$/;" m struct:__anonbbb2b4710108 typeref:typename:int * file: | ||
S input.c /^} S;$/;" t typeref:struct:__anonbbb2b4710108 file: | ||
foo input.c /^struct foo {$/;" s file: | ||
bar input.c /^ int bar;$/;" m struct:foo typeref:typename:int file: | ||
v input.c /^} v = {$/;" v typeref:struct:foo | ||
w input.c /^struct foo w = {$/;" v typeref:struct:foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* valgrind reported an error when ctags built with | ||
* --enable-debugging configure option. | ||
* | ||
* To reproduce: | ||
* | ||
* $ make units LANGUAGES=C VG=1 | ||
* | ||
*/ | ||
typedef struct | ||
{ | ||
int*n; | ||
} S; | ||
|
||
struct foo { | ||
int bar; | ||
} v = { | ||
.bar = 1, | ||
}; | ||
|
||
struct foo w = { | ||
.bar = 2, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters