|
clang 22.0.0git
|
Helper class for stores the "trap reason" built by. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/TrapReasonBuilder.h"
Public Member Functions | |
| TrapReasonBuilder (DiagnosticsEngine *DiagObj, unsigned DiagID, TrapReason &TR) | |
| ~TrapReasonBuilder () | |
| TrapReasonBuilder & | operator= (const TrapReasonBuilder &)=delete |
| TrapReasonBuilder & | operator= (const TrapReasonBuilder &&)=delete |
| TrapReasonBuilder (const TrapReasonBuilder &)=delete | |
| TrapReasonBuilder (const TrapReasonBuilder &&)=delete | |
| Public Member Functions inherited from clang::DiagnosticBuilder | |
| DiagnosticBuilder (const DiagnosticBuilder &D) | |
| Copy constructor. | |
| template<typename T> | |
| const DiagnosticBuilder & | operator<< (const T &V) const |
| template<typename T, typename = std::enable_if_t<!std::is_lvalue_reference<T>::value>> | |
| const DiagnosticBuilder & | operator<< (T &&V) const |
| DiagnosticBuilder & | operator= (const DiagnosticBuilder &)=delete |
| ~DiagnosticBuilder () | |
| Emits the diagnostic. | |
| const DiagnosticBuilder & | setForceEmit () const |
| Forces the diagnostic to be emitted. | |
| void | addFlagValue (StringRef V) const |
| Public Member Functions inherited from clang::StreamingDiagnostic | |
| DiagnosticStorage * | getStorage () const |
| Retrieve storage for this particular diagnostic. | |
| void | freeStorage () |
| void | freeStorageSlow () |
| void | AddTaggedVal (uint64_t V, DiagnosticsEngine::ArgumentKind Kind) const |
| void | AddString (StringRef V) const |
| void | AddSourceRange (const CharSourceRange &R) const |
| void | AddFixItHint (const FixItHint &Hint) const |
| operator bool () const | |
Conversion of StreamingDiagnostic to bool always returns true. | |
Additional Inherited Members | |
| Public Types inherited from clang::StreamingDiagnostic | |
| using | DiagStorageAllocator = clang::DiagStorageAllocator |
| Protected Member Functions inherited from clang::DiagnosticBuilder | |
| DiagnosticBuilder (DiagnosticsEngine *DiagObj, SourceLocation DiagLoc, unsigned DiagID) | |
| DiagnosticsEngine * | getDiagnosticsEngine () const |
| unsigned | getDiagID () const |
| void | Clear () const |
| Clear out the current diagnostic. | |
| bool | isActive () const |
| Determine whether this diagnostic is still active. | |
| bool | Emit () |
| Force the diagnostic builder to emit the diagnostic now. | |
| Protected Member Functions inherited from clang::StreamingDiagnostic | |
| StreamingDiagnostic ()=default | |
| StreamingDiagnostic (DiagStorageAllocator &Alloc) | |
| Construct with a storage allocator which will manage the storage. | |
| StreamingDiagnostic (const StreamingDiagnostic &Diag)=default | |
| StreamingDiagnostic (StreamingDiagnostic &&Diag)=default | |
| ~StreamingDiagnostic () | |
| Protected Attributes inherited from clang::StreamingDiagnostic | |
| DiagnosticStorage * | DiagStorage = nullptr |
| DiagStorageAllocator * | Allocator = nullptr |
| Allocator used to allocate storage for this diagnostic. | |
Helper class for stores the "trap reason" built by.
Definition at line 85 of file TrapReasonBuilder.h.
| clang::CodeGen::TrapReasonBuilder::TrapReasonBuilder | ( | DiagnosticsEngine * | DiagObj, |
| unsigned | DiagID, | ||
| TrapReason & | TR ) |
Definition at line 18 of file TrapReasonBuilder.cpp.
References clang::DiagnosticBuilder::DiagnosticsEngine.
Referenced by operator=(), operator=(), TrapReasonBuilder(), and TrapReasonBuilder().
| clang::CodeGen::TrapReasonBuilder::~TrapReasonBuilder | ( | ) |
Definition at line 24 of file TrapReasonBuilder.cpp.
References clang::DiagnosticBuilder::Clear().
|
delete |
References TrapReasonBuilder().
|
delete |
References TrapReasonBuilder().
|
delete |
References TrapReasonBuilder().
|
delete |
References TrapReasonBuilder().