clang  16.0.0git
Functions
clang::threadSafety::sx Namespace Reference

Functions

bool equals (const til::SExpr *E1, const til::SExpr *E2)
 
bool matches (const til::SExpr *E1, const til::SExpr *E2)
 
bool partiallyMatches (const til::SExpr *E1, const til::SExpr *E2)
 
std::string toString (const til::SExpr *E)
 

Function Documentation

◆ equals()

bool clang::threadSafety::sx::equals ( const til::SExpr E1,
const til::SExpr E2 
)
inline

◆ matches()

bool clang::threadSafety::sx::matches ( const til::SExpr E1,
const til::SExpr E2 
)
inline

◆ partiallyMatches()

bool clang::threadSafety::sx::partiallyMatches ( const til::SExpr E1,
const til::SExpr E2 
)
inline

◆ toString()

std::string clang::threadSafety::sx::toString ( const til::SExpr E)
inline

Definition at line 91 of file ThreadSafetyCommon.h.

References clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::print().

Referenced by clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnGCCAsmStmt(), clang::Sema::ActOnOMPArraySectionExpr(), clang::Sema::ActOnOMPArrayShapingExpr(), clang::Sema::ActOnOpenMPCriticalDirective(), clang::Sema::ActOnPragmaClangSection(), clang::format::QualifierAlignmentFixer::analyze(), clang::tooling::applyAtomicChanges(), clang::ast_matchers::AST_MATCHER_P(), clang::Sema::BuildArrayType(), CheckedIntArithmetic(), clang::Sema::CheckEnumConstant(), clang::Sema::CheckLoopHintExpr(), clang::Sema::checkSectionName(), clang::tooling::internal::createExecutorFromCommandLineArgsImpl(), DiagTemplateArg(), EvaluateDirectiveSubExpr(), getModuleContextHash(), clang::CompilerInvocation::getModuleHash(), clang::threadSafety::getSourceLiteralString(), clang::tooling::RenamingASTConsumer::HandleTranslationUnit(), IsStructurallyEquivalent(), llvm::yaml::MappingTraits< clang::tooling::DiagnosticMessage >::mapping(), clang::operator<<(), PrettyPrintInRange(), clang::tooling::HeaderIncludes::remove(), clang::format::replaceToken(), clang::tooling::ReplaceStmtWithText::run(), clang::tooling::ReplaceNodeWithTemplate::run(), clang::tooling::ReplaceStmtWithStmt::run(), clang::tooling::ReplaceIfStmtWithItsBody::run(), clang::tooling::ClangTool::run(), clang::ento::CheckerManager::runCheckersForEvalCall(), clang::threadSafety::CapabilityExpr::toString(), clang::Sema::tryToFixVariablyModifiedVarType(), clang::Sema::VerifyBitField(), clang::TextNodeDumper::VisitIntegerLiteral(), clang::Interpreter::~Interpreter(), and clang::SavedStreamPosition::~SavedStreamPosition().