clang  14.0.0git
Classes | Namespaces | Macros
ThreadSafetyTraverse.h File Reference
#include "clang/AST/Decl.h"
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
#include "clang/Analysis/Analyses/ThreadSafetyUtil.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include <cstdint>
#include <ostream>
#include "ThreadSafetyOps.def"
Include dependency graph for ThreadSafetyTraverse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::threadSafety::til::Traversal< Self, R >
 
class  clang::threadSafety::til::SimpleReducerBase
 
class  clang::threadSafety::til::CopyReducerBase
 
class  clang::threadSafety::til::CopyReducerBase::Container< T >
 
class  clang::threadSafety::til::VisitReducerBase
 
class  clang::threadSafety::til::VisitReducerBase::Container< T >
 
class  clang::threadSafety::til::VisitReducer< Self >
 
class  clang::threadSafety::til::Comparator< Self >
 
class  clang::threadSafety::til::EqualsComparator
 
class  clang::threadSafety::til::MatchComparator
 
class  clang::threadSafety::til::PrettyPrinter< Self, StreamType >
 
class  clang::threadSafety::til::StdPrinter
 

Namespaces

 clang
 
 clang::threadSafety
 
 clang::threadSafety::til
 

Macros

#define TIL_OPCODE_DEF(X)
 
#define TIL_OPCODE_DEF(X)
 
#define TIL_OPCODE_DEF(X)
 
#define TIL_OPCODE_DEF(X)
 

Macro Definition Documentation

◆ TIL_OPCODE_DEF [1/4]

#define TIL_OPCODE_DEF (   X)
Value:
case COP_##X: \
return self()->traverse##X(cast<X>(E), Ctx);

Definition at line 92 of file ThreadSafetyTraverse.h.

◆ TIL_OPCODE_DEF [2/4]

#define TIL_OPCODE_DEF (   X)
Value:
typename R::R_SExpr traverse##X(X *e, typename R::R_Ctx Ctx) { \
return e->traverse(*self(), Ctx); \
}

Definition at line 92 of file ThreadSafetyTraverse.h.

◆ TIL_OPCODE_DEF [3/4]

#define TIL_OPCODE_DEF (   X)
Value:
case COP_##X: \
return cast<X>(E1)->compare(cast<X>(E2), *self());

Definition at line 92 of file ThreadSafetyTraverse.h.

◆ TIL_OPCODE_DEF [4/4]

#define TIL_OPCODE_DEF (   X)
Value:
case COP_##X: \
self()->print##X(cast<X>(E), SS); \
return;

Definition at line 92 of file ThreadSafetyTraverse.h.

clang::tooling::X
static ToolExecutorPluginRegistry::Add< AllTUsToolExecutorPlugin > X("all-TUs", "Runs FrontendActions on all TUs in the compilation database. " "Tool results are stored in memory.")
clang::ast_matchers::traverse
internal::Matcher< T > traverse(TraversalKind TK, const internal::Matcher< T > &InnerMatcher)
Causes all nested matchers to be matched with the specified traversal kind.
Definition: ASTMatchers.h:813