[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Global does not recognize C++ final keyword

From: Alex Pelts
Subject: Global does not recognize C++ final keyword
Date: Wed, 28 Sep 2022 17:42:17 -0700

What is your environment (OS)?
Ubuntu 18.04.1 LTS
Which version of Global are you using?
Tried 6.6.2 which is available with apt-get and 6.6.8 which I built from
source. Both versions show the same issue.
What did you do? (command line)
gtags .
global -dx Model
global -dx final
global -dx struct

What did you expect from it?
global -dx Model
Expected for the tool to show definition of model
global -dx final
Expected not to show any definitions
global -dx struct
Expected not to show any definitions

What was occurred? (as is)
global -dx Model
Did not show any definitions
global -dx final
final              16 cpp-test.cpp     struct Model final {
final              17 cpp-test.cpp         struct ExtensionNameAndPrefix
final {
global -dx struct
Did not show any definitions

Attached is the relevant CPP file.

Thank you,

This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

Attachment: cpp-test.cpp
Description: Binary data

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]