MCPcopy Create free account
hub / github.com/KDAB/codebrowser / cxxDeclIndependent

Function cxxDeclIndependent

generator/annotator.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 */
72template <class T>
73bool cxxDeclIndependent(const T* decl)
74{
75 const clang::CXXRecordDecl *cxx = llvm::dyn_cast<clang::CXXRecordDecl>(decl);
76 if (cxx && cxx->isDependentContext()) {
77 return false;
78 }
79
80 /** Non CXX always independent */
81 return true;
82}
83
84ssize_t getDeclSize(const clang::Decl* decl)
85{

Callers 2

getDeclSizeFunction · 0.85
getFieldOffsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected