Clang import: Handle LinkageSpecDecl
This commit is contained in:
parent
788abfa8a4
commit
aa9281515d
|
@ -80,6 +80,7 @@ static const std::string ImplicitCastExpr = "ImplicitCastExpr";
|
||||||
static const std::string InitListExpr = "InitListExpr";
|
static const std::string InitListExpr = "InitListExpr";
|
||||||
static const std::string IntegerLiteral = "IntegerLiteral";
|
static const std::string IntegerLiteral = "IntegerLiteral";
|
||||||
static const std::string LabelStmt = "LabelStmt";
|
static const std::string LabelStmt = "LabelStmt";
|
||||||
|
static const std::string LinkageSpecDecl = "LinkageSpecDecl";
|
||||||
static const std::string MaterializeTemporaryExpr = "MaterializeTemporaryExpr";
|
static const std::string MaterializeTemporaryExpr = "MaterializeTemporaryExpr";
|
||||||
static const std::string MemberExpr = "MemberExpr";
|
static const std::string MemberExpr = "MemberExpr";
|
||||||
static const std::string NamespaceDecl = "NamespaceDecl";
|
static const std::string NamespaceDecl = "NamespaceDecl";
|
||||||
|
@ -998,6 +999,8 @@ Token *clangimport::AstNode::createTokens(TokenList *tokenList)
|
||||||
child->createTokens(tokenList);
|
child->createTokens(tokenList);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
if (nodeType == LinkageSpecDecl)
|
||||||
|
return nullptr;
|
||||||
if (nodeType == MaterializeTemporaryExpr)
|
if (nodeType == MaterializeTemporaryExpr)
|
||||||
return children[0]->createTokens(tokenList);
|
return children[0]->createTokens(tokenList);
|
||||||
if (nodeType == MemberExpr) {
|
if (nodeType == MemberExpr) {
|
||||||
|
|
Loading…
Reference in New Issue