Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
仅在此代码上使用 clang::ParseAST 时(不多也不少)
class A : public B, public C { int field; };
我无法获得有关 B 和 C 的信息,它们似乎完全被忽略并且在循环时不存在
CXXRecordDecl::bases_begin() / CXXRecordDecl::bases_end()
我可以在某处找到有关这些基本声明的信息,即使它们显然是“未定义的符号”?