Home
last modified time | relevance | path

Searched refs:ExplicitSpec (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h1783 llvm::PointerIntPair<Expr *, 2, ExplicitSpecKind> ExplicitSpec{
1789 : ExplicitSpec(Expression, Kind) {} in ExplicitSpecifier()
1790 ExplicitSpecKind getKind() const { return ExplicitSpec.getInt(); } in getKind()
1791 const Expr *getExpr() const { return ExplicitSpec.getPointer(); } in getExpr()
1792 Expr *getExpr() { return ExplicitSpec.getPointer(); } in getExpr()
1796 return ExplicitSpec.getInt() != ExplicitSpecKind::ResolvedFalse || in isSpecified()
1797 ExplicitSpec.getPointer(); in isSpecified()
1807 return ExplicitSpec.getInt() == ExplicitSpecKind::ResolvedTrue; in isExplicit()
1812 return ExplicitSpec.getInt() == ExplicitSpecKind::Unresolved && in isInvalid()
1813 !ExplicitSpec.getPointer(); in isInvalid()
[all …]
/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp1027 ExplicitSpecifier ExplicitSpec, in setFunctionSpecExplicit() argument
1032 DiagID = (ExplicitSpec.getExpr() || FS_explicit_specifier.getExpr()) in setFunctionSpecExplicit()
1038 FS_explicit_specifier = ExplicitSpec; in setFunctionSpecExplicit()
DSemaTemplateDeduction.cpp3772 if (FunctionDecl *ExplicitSpec in ResolveOverloadForDeduction() local
3774 return GetTypeOfFunction(S, R, ExplicitSpec); in ResolveOverloadForDeduction()
DSemaDeclCXX.cpp12817 bool Sema::tryResolveExplicitSpecifier(ExplicitSpecifier &ExplicitSpec) { in tryResolveExplicitSpecifier() argument
12820 ExplicitSpec.getExpr(), Context.BoolTy, Result, CCEK_ExplicitBool); in tryResolveExplicitSpecifier()
12821 ExplicitSpec.setExpr(Converted.get()); in tryResolveExplicitSpecifier()
12823 ExplicitSpec.setKind(Result.getBoolValue() in tryResolveExplicitSpecifier()
12828 ExplicitSpec.setKind(ExplicitSpecKind::Unresolved); in tryResolveExplicitSpecifier()
/external/llvm-project/clang/lib/AST/
DDeclPrinter.cpp617 ExplicitSpecifier ExplicitSpec = ExplicitSpecifier::getFromDecl(D); in VisitFunctionDecl() local
618 if (ExplicitSpec.isSpecified()) in VisitFunctionDecl()
619 printExplicitSpecifier(ExplicitSpec, Out, Policy, Indentation); in VisitFunctionDecl()
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h736 unsigned &DiagID, ExplicitSpecifier ExplicitSpec,
DSema.h11661 bool tryResolveExplicitSpecifier(ExplicitSpecifier &ExplicitSpec);
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp3016 if (FunctionDecl *ExplicitSpec in ResolveOverloadForDeduction() local
3018 return GetTypeOfFunction(S, R, ExplicitSpec); in ResolveOverloadForDeduction()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp3645 ExplicitSpecifier ExplicitSpec(nullptr, ExplicitSpecKind::ResolvedTrue); in ParseDeclarationSpecifiers() local
3662 ExplicitSpec = in ParseDeclarationSpecifiers()
3671 ExplicitSpec, CloseParenLoc); in ParseDeclarationSpecifiers()