MCPcopy Create free account
hub / github.com/Samsung/UTopia / getTypeName

Function getTypeName

include/ftg/utils/ASTUtil.h:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34bool isImplicitArgument(clang::Expr &E, unsigned AIdx);
35
36static inline std::string getTypeName(const clang::TagDecl &clangS) {
37 return clangS.getTypedefNameForAnonDecl()
38 ? clangS.getTypedefNameForAnonDecl()
39 ->getNameAsString() // (ex) typedef struct {}A;
40 : clangS.getNameAsString(); // (ex) struct A{};
41}
42
43static inline const clang::ArrayType *getAsArrayType(clang::QualType clangQTy) {
44 if (auto AdjustedTy = clangQTy->getAs<clang::AdjustedType>()) {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68