reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APInt.h
   69 class LLVM_NODISCARD APInt {
include/llvm/ADT/APSInt.h
   21 class LLVM_NODISCARD APSInt : public APInt {
include/llvm/ADT/ArrayRef.h
   41   class LLVM_NODISCARD ArrayRef {
  290   class LLVM_NODISCARD MutableArrayRef : public ArrayRef<T> {
include/llvm/ADT/DenseMap.h
   96   LLVM_NODISCARD bool empty() const {
include/llvm/ADT/ImmutableList.h
  176   LLVM_NODISCARD ImmutableList<T> concat(ElemT &&Head, ImmutableList<T> Tail) {
  199   LLVM_NODISCARD ImmutableList<T> add(ElemT &&Data, ImmutableList<T> L) {
  204   LLVM_NODISCARD ImmutableList<T> emplace(ImmutableList<T> Tail,
include/llvm/ADT/ImmutableMap.h
  116     LLVM_NODISCARD ImmutableMap add(ImmutableMap Old, key_type_ref K,
  122     LLVM_NODISCARD ImmutableMap remove(ImmutableMap Old, key_type_ref K) {
include/llvm/ADT/ImmutableSet.h
 1019     LLVM_NODISCARD ImmutableSet add(ImmutableSet Old, value_type_ref V) {
 1031     LLVM_NODISCARD ImmutableSet remove(ImmutableSet Old, value_type_ref V) {
include/llvm/ADT/PriorityWorklist.h
  154   LLVM_NODISCARD T pop_back_val() {
include/llvm/ADT/ScopeExit.h
   57 LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type>
include/llvm/ADT/SetVector.h
  227   LLVM_NODISCARD T pop_back_val() {
include/llvm/ADT/SmallPtrSet.h
   91   LLVM_NODISCARD bool empty() const { return size() == 0; }
include/llvm/ADT/SmallSet.h
  155   LLVM_NODISCARD bool empty() const {
include/llvm/ADT/SmallVector.h
   55   LLVM_NODISCARD bool empty() const { return !Size; }
  374   LLVM_NODISCARD T pop_back_val() {
include/llvm/ADT/StringRef.h
  141     LLVM_NODISCARD
  145     LLVM_NODISCARD
  149     LLVM_NODISCARD
  153     LLVM_NODISCARD
  160     LLVM_NODISCARD
  168     LLVM_NODISCARD StringRef copy(Allocator &A) const {
  179     LLVM_NODISCARD
  186     LLVM_NODISCARD
  193     LLVM_NODISCARD
  206     LLVM_NODISCARD
  211     LLVM_NODISCARD
  232     LLVM_NODISCARD
  237     LLVM_NODISCARD
  247     LLVM_NODISCARD
  275     LLVM_NODISCARD
  282     LLVM_NODISCARD
  286     LLVM_NODISCARD
  293     LLVM_NODISCARD
  304     LLVM_NODISCARD
  319     LLVM_NODISCARD
  326     LLVM_NODISCARD
  341     LLVM_NODISCARD
  350     LLVM_NODISCARD
  357     LLVM_NODISCARD
  364     LLVM_NODISCARD
  380     LLVM_NODISCARD
  387     LLVM_NODISCARD
  394     LLVM_NODISCARD
  399     LLVM_NODISCARD
  408     LLVM_NODISCARD
  413     LLVM_NODISCARD
  420     LLVM_NODISCARD
  425     LLVM_NODISCARD
  434     LLVM_NODISCARD
  439     LLVM_NODISCARD
  446     LLVM_NODISCARD
  451     LLVM_NODISCARD
  456     LLVM_NODISCARD
  461     LLVM_NODISCARD
  468     LLVM_NODISCARD
  476     LLVM_NODISCARD
  577     LLVM_NODISCARD
  581     LLVM_NODISCARD
  597     LLVM_NODISCARD
  606     LLVM_NODISCARD
  616     LLVM_NODISCARD
  625     LLVM_NODISCARD
  632     LLVM_NODISCARD
  639     LLVM_NODISCARD
  647     LLVM_NODISCARD
  655     LLVM_NODISCARD
  662     LLVM_NODISCARD
  698     LLVM_NODISCARD
  715     LLVM_NODISCARD
  730     LLVM_NODISCARD
  748     LLVM_NODISCARD
  801     LLVM_NODISCARD
  808     LLVM_NODISCARD
  815     LLVM_NODISCARD
  822     LLVM_NODISCARD
  829     LLVM_NODISCARD
  836     LLVM_NODISCARD
  843     LLVM_NODISCARD
  915   LLVM_NODISCARD
include/llvm/ADT/StringSwitch.h
  180   LLVM_NODISCARD
  187   LLVM_NODISCARD
include/llvm/ADT/simple_ilist.h
  131   LLVM_NODISCARD bool empty() const { return Sentinel.empty(); }
  134   LLVM_NODISCARD size_type size() const {
include/llvm/Analysis/AliasAnalysis.h
  139 LLVM_NODISCARD inline bool isNoModRef(const ModRefInfo MRI) {
  143 LLVM_NODISCARD inline bool isModOrRefSet(const ModRefInfo MRI) {
  146 LLVM_NODISCARD inline bool isModAndRefSet(const ModRefInfo MRI) {
  150 LLVM_NODISCARD inline bool isModSet(const ModRefInfo MRI) {
  153 LLVM_NODISCARD inline bool isRefSet(const ModRefInfo MRI) {
  156 LLVM_NODISCARD inline bool isMustSet(const ModRefInfo MRI) {
  160 LLVM_NODISCARD inline ModRefInfo setMod(const ModRefInfo MRI) {
  164 LLVM_NODISCARD inline ModRefInfo setRef(const ModRefInfo MRI) {
  168 LLVM_NODISCARD inline ModRefInfo setMust(const ModRefInfo MRI) {
  172 LLVM_NODISCARD inline ModRefInfo setModAndRef(const ModRefInfo MRI) {
  176 LLVM_NODISCARD inline ModRefInfo clearMod(const ModRefInfo MRI) {
  179 LLVM_NODISCARD inline ModRefInfo clearRef(const ModRefInfo MRI) {
  182 LLVM_NODISCARD inline ModRefInfo clearMust(const ModRefInfo MRI) {
  186 LLVM_NODISCARD inline ModRefInfo unionModRef(const ModRefInfo MRI1,
  190 LLVM_NODISCARD inline ModRefInfo intersectModRef(const ModRefInfo MRI1,
  284 LLVM_NODISCARD inline ModRefInfo
include/llvm/Analysis/ScalarEvolution.h
  335   LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
  344   LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
  352   LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
  364   LLVM_NODISCARD static SCEVWrapPredicate::IncrementWrapFlags
  461   LLVM_NODISCARD static SCEV::NoWrapFlags maskFlags(SCEV::NoWrapFlags Flags,
  465   LLVM_NODISCARD static SCEV::NoWrapFlags setFlags(SCEV::NoWrapFlags Flags,
  469   LLVM_NODISCARD static SCEV::NoWrapFlags
include/llvm/CodeGen/MachineFunction.h
  830   LLVM_NODISCARD unsigned addFrameInst(const MCCFIInstruction &Inst);
include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
   40   class LLVM_NODISCARD Lock {
include/llvm/IR/Attributes.h
  242   LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C,
  247   LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C, StringRef Kind,
  252   LLVM_NODISCARD AttributeSet addAttributes(LLVMContext &C,
  257   LLVM_NODISCARD AttributeSet removeAttribute(LLVMContext &C,
  262   LLVM_NODISCARD AttributeSet removeAttribute(LLVMContext &C,
  267   LLVM_NODISCARD AttributeSet
  392   LLVM_NODISCARD AttributeList addAttribute(LLVMContext &C, unsigned Index,
  397   LLVM_NODISCARD AttributeList
  403   LLVM_NODISCARD AttributeList addAttribute(LLVMContext &C, unsigned Index,
  408   LLVM_NODISCARD AttributeList addAttributes(LLVMContext &C, unsigned Index,
  413   LLVM_NODISCARD AttributeList addParamAttribute(
  420   LLVM_NODISCARD AttributeList
  428   LLVM_NODISCARD AttributeList addParamAttribute(LLVMContext &C,
  434   LLVM_NODISCARD AttributeList addParamAttributes(LLVMContext &C,
  442   LLVM_NODISCARD AttributeList removeAttribute(LLVMContext &C, unsigned Index,
  447   LLVM_NODISCARD AttributeList removeAttribute(LLVMContext &C, unsigned Index,
  452   LLVM_NODISCARD AttributeList removeAttributes(
  457   LLVM_NODISCARD AttributeList removeAttributes(LLVMContext &C,
  462   LLVM_NODISCARD AttributeList removeParamAttribute(
  469   LLVM_NODISCARD AttributeList removeParamAttribute(LLVMContext &C,
  477   LLVM_NODISCARD AttributeList removeParamAttributes(
  484   LLVM_NODISCARD AttributeList removeParamAttributes(LLVMContext &C,
  491   LLVM_NODISCARD AttributeList addDereferenceableAttr(LLVMContext &C,
  497   LLVM_NODISCARD AttributeList addDereferenceableParamAttr(
  504   LLVM_NODISCARD AttributeList addDereferenceableOrNullAttr(
  510   LLVM_NODISCARD AttributeList addDereferenceableOrNullParamAttr(
  517   LLVM_NODISCARD AttributeList
  523   LLVM_NODISCARD AttributeList
include/llvm/IR/ConstantRange.h
   47 class LLVM_NODISCARD ConstantRange {
include/llvm/Support/Casting.h
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  150 LLVM_NODISCARD inline bool isa_and_nonnull(const Y &Val) {
  283 LLVM_NODISCARD inline
  294 LLVM_NODISCARD inline
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  329 LLVM_NODISCARD inline
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  350 LLVM_NODISCARD inline
  358 LLVM_NODISCARD inline
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  377 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val)
  385 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val)
  393 LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &Val)
  401 LLVM_NODISCARD inline auto unique_dyn_cast_or_null(std::unique_ptr<Y> &&Val)
include/llvm/Support/Error.h
  157 class LLVM_NODISCARD Error {
  433 template <class T> class LLVM_NODISCARD Expected {
lib/CodeGen/MachineFunction.cpp
  278 LLVM_NODISCARD unsigned
lib/CodeGen/RegisterCoalescer.cpp
  361 LLVM_NODISCARD static bool isMoveInstr(const TargetRegisterInfo &tri,
tools/clang/include/clang/AST/ASTContext.h
 2927     LLVM_NODISCARD ObjCEncOptions keepingOnly(ObjCEncOptions Mask) const {
 2931     LLVM_NODISCARD ObjCEncOptions forComponentType() const {
tools/clang/include/clang/AST/ASTImporter.h
  341     LLVM_NODISCARD llvm::Error importInto(ImportT &To, const ImportT &From) {
  499     LLVM_NODISCARD llvm::Error ImportDefinition(Decl *From);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
  182   LLVM_NODISCARD ProgramStateRef assume(DefinedOrUnknownSVal cond,
  190   LLVM_NODISCARD std::pair<ProgramStateRef, ProgramStateRef>
  193   LLVM_NODISCARD ProgramStateRef
  203   LLVM_NODISCARD ProgramStateRef assumeInclusiveRange(DefinedOrUnknownSVal Val,
  213   LLVM_NODISCARD std::pair<ProgramStateRef, ProgramStateRef>
  237   LLVM_NODISCARD ProgramStateRef BindExpr(const Stmt *S,
  241   LLVM_NODISCARD ProgramStateRef bindLoc(Loc location, SVal V,
  245   LLVM_NODISCARD ProgramStateRef bindLoc(SVal location, SVal V,
  254   LLVM_NODISCARD ProgramStateRef
  259   LLVM_NODISCARD ProgramStateRef
  262   LLVM_NODISCARD ProgramStateRef killBinding(Loc LV) const;
  282   LLVM_NODISCARD ProgramStateRef
  289   LLVM_NODISCARD ProgramStateRef
  298   LLVM_NODISCARD ProgramStateRef enterStackFrame(
  375   LLVM_NODISCARD ProgramStateRef
  395   LLVM_NODISCARD ProgramStateRef
  399   LLVM_NODISCARD ProgramStateRef
  403   template <typename T> LLVM_NODISCARD ProgramStateRef remove() const;
  406   LLVM_NODISCARD ProgramStateRef
  410   LLVM_NODISCARD ProgramStateRef
  415   LLVM_NODISCARD ProgramStateRef
tools/clang/include/clang/Tooling/Core/Replacement.h
  262   LLVM_NODISCARD Replacements merge(const Replacements &Replaces) const;
tools/clang/include/clang/Tooling/Syntax/Tokens.h
  331   LLVM_NODISCARD TokenBuffer consume() &&;
tools/clang/lib/AST/ASTImporter.cpp
  146     LLVM_NODISCARD Error importInto(ImportT &To, const ImportT &From) {
  152     LLVM_NODISCARD Error importInto(ImportT *&To, ImportT *From) {
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  245     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  255     LLVM_NODISCARD bool
tools/clang/lib/AST/ExprConstant.cpp
 1165     LLVM_NODISCARD bool noteFailure() {
 6143   LLVM_NODISCARD
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
   56   LLVM_NODISCARD IdInfo lexIdentifier(const char *First, const char *const End);
   57   LLVM_NODISCARD bool isNextIdentifier(StringRef Id, const char *&First,
   59   LLVM_NODISCARD bool minimizeImpl(const char *First, const char *const End);
   60   LLVM_NODISCARD bool lexPPLine(const char *&First, const char *const End);
   61   LLVM_NODISCARD bool lexAt(const char *&First, const char *const End);
   62   LLVM_NODISCARD bool lexModule(const char *&First, const char *const End);
   63   LLVM_NODISCARD bool lexDefine(const char *&First, const char *const End);
   64   LLVM_NODISCARD bool lexPragma(const char *&First, const char *const End);
   65   LLVM_NODISCARD bool lexEndif(const char *&First, const char *const End);
   66   LLVM_NODISCARD bool lexDefault(TokenKind Kind, StringRef Directive,
   90   LLVM_NODISCARD bool printAtImportBody(const char *&First,
   94   LLVM_NODISCARD bool printMacroArgs(const char *&First, const char *const End);
  121 LLVM_NODISCARD static bool isRawStringLiteral(const char *First,
  524 LLVM_NODISCARD static const char *lexRawIdentifier(const char *First,
  533 LLVM_NODISCARD static const char *
tools/clang/lib/StaticAnalyzer/Checkers/Taint.h
   30 LLVM_NODISCARD ProgramStateRef
   35 LLVM_NODISCARD ProgramStateRef
   40 LLVM_NODISCARD ProgramStateRef
   46 LLVM_NODISCARD ProgramStateRef
   54 LLVM_NODISCARD ProgramStateRef
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  226 LLVM_NODISCARD
tools/clang/tools/extra/clangd/ClangdServer.cpp
  604 LLVM_NODISCARD bool
tools/clang/tools/extra/clangd/ClangdServer.h
  296   LLVM_NODISCARD bool
tools/clang/tools/extra/clangd/Context.h
  189 class LLVM_NODISCARD WithContext {
  204 class LLVM_NODISCARD WithContextValue {
tools/clang/tools/extra/clangd/Function.h
   38   class LLVM_NODISCARD Subscription {
tools/clang/tools/extra/clangd/Threading.h
   92 LLVM_NODISCARD bool wait(std::unique_lock<std::mutex> &Lock,
  111   LLVM_NODISCARD bool wait(Deadline D) const;
tools/clang/tools/extra/clangd/index/Background.h
   99   LLVM_NODISCARD bool
  146   LLVM_NODISCARD bool
tools/lldb/include/lldb/Interpreter/CommandInterpreter.h
  464   LLVM_NODISCARD bool SetQuitExitCode(int exit_code);
tools/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
   33     LLVM_NODISCARD bool TrySet(llvm::StringRef path);
unittests/ProfileData/CoverageMappingTest.cpp
   25 LLVM_NODISCARD static ::testing::AssertionResult
unittests/ProfileData/InstrProfTest.cpp
   23 LLVM_NODISCARD static ::testing::AssertionResult