If the Child constructor declaration is commented as shown below, then it gives the expected output, but of course, that workaround is impractical in most cases.
class Parent {
};
class Child : public Parent {
//public: Child() {}
};
int main() {
Parent *p = new Child{}; // line 9
}
Environment (please complete the following information):
OS/Version: Linux (Debian 10.2)
RTags(rdm,rc): 2.38.131
Emacs: NA
LLVM/Clang: clang version 8.0.1-3~bpo10+1 (tags/RELEASE_801/final)
When I ask rtags to find references to Child, it fails to find the reference on line 9:
To Reproduce
This command refers to the text "class Child":
/home/bjacob/no_backup/rtags/bin/rc --current-file=/home/bjacob/rtags_test/joe.C -z -t128 -r /home/bjacob/rtags_test/joe.C:4:8:
Actual output:
No output.
Expected output:
If the Child constructor declaration is commented as shown below, then it gives the expected output, but of course, that workaround is impractical in most cases.
Environment (please complete the following information):