clang 24.0.0git
UncheckedExpectedAccessModel.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::dataflow

Functions

static bool clang::dataflow::isSupportedNamespace (const DeclContext &DC)
 Returns true if DC is std or the top-level tl namespace, which holds tl::expected (https://github.com/TartanLlama/expected).
static bool clang::dataflow::isExpectedClass (const CXXRecordDecl &RD)
static llvm::StringRef clang::dataflow::getExpectedTypeName (const CXXRecordDecl &RD)
 Returns the name of the expected class RD to show in diagnostics.
static bool clang::dataflow::isExpectedType (QualType Ty)