GNU bug report logs - #43203
etags with c++ constructor with try makes it ignore following code

Previous Next

Package: emacs;

Reported by: Thorbjørn Willoch <Thorbjorn.Willoch <at> strydefurther.com>

Date: Fri, 4 Sep 2020 13:11:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Thorbjørn Willoch
 <Thorbjorn.Willoch <at> strydefurther.com>
To: 43203 <at> debbugs.gnu.org
Subject: bug#43203: etags with c++ constructor with try makes it ignore following code
Date: Fri, 4 Sep 2020 11:34:27 +0000
[Message part 1 (text/plain, inline)]
foo.cc:
-----------------------------------------------
#include <iostream>

struct Foo { Foo(); };

Foo::Foo() try
{ throw;
} catch(...) {
    std::cerr << "Goodbye\n";
}

int DoYouSeeThis() { return 0; }
---------------------------------------------------
etags foo.cc
cat TAGS
/home/twilloch/tst2-etags.cc,36
struct Foo 3,21
Foo::Foo(Foo5,45


[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.