Searched refs:ASTImportError (Results 1 – 4 of 4) sorted by relevance
21 class ASTImportError : public llvm::ErrorInfo<ASTImportError> {34 ASTImportError() : Error(Unknown) {} in ASTImportError() function35 ASTImportError(const ASTImportError &Other) : Error(Other.Error) {} in ASTImportError() function36 ASTImportError &operator=(const ASTImportError &Other) {40 ASTImportError(ErrorKind Error) : Error(Error) {} in ASTImportError() function
40 llvm::DenseMap<Decl *, ASTImportError> ImportErrors;69 std::optional<ASTImportError> getImportDeclErrorIfAny(Decl *ToD) const { in getImportDeclErrorIfAny()77 void setImportDeclError(Decl *To, ASTImportError Error) { in setImportDeclError()
234 llvm::DenseMap<Decl *, ASTImportError> ImportDeclErrors;568 std::optional<ASTImportError> getImportDeclErrorIfAny(Decl *FromD) const;571 void setImportDeclError(Decl *From, ASTImportError Error);
86 std::string ASTImportError::toString() const { in toString()100 void ASTImportError::log(raw_ostream &OS) const { OS << toString(); } in log()102 std::error_code ASTImportError::convertToErrorCode() const { in convertToErrorCode()106 char ASTImportError::ID;1065 return make_error<ASTImportError>(ASTImportError::UnsupportedConstruct); in VisitType()1901 return make_error<ASTImportError>(ASTImportError::UnsupportedConstruct); in ImportDeclParts()2450 return make_error<ASTImportError>(ASTImportError::UnsupportedConstruct); in VisitDecl()2456 return make_error<ASTImportError>(ASTImportError::UnsupportedConstruct); in VisitImportDecl()4159 return make_error<ASTImportError>(ASTImportError::NameConflict); in VisitFieldDecl()4249 return make_error<ASTImportError>(ASTImportError::NameConflict); in VisitIndirectFieldDecl()[all …]