HomeSort by: relevance | last modified time | path
    Searched defs:Optional (Results 1 - 8 of 8) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
Optional.h 1 //===- Optional.h - Simple variant for passing optional values --*- C++ -*-===//
9 // This file provides Optional, a template class modeled in the spirit of
11 // a value can be optional.
238 template <typename T> class Optional {
244 constexpr Optional() {}
245 constexpr Optional(NoneType) {}
247 constexpr Optional(const T &y) : Storage(in_place, y) {}
248 constexpr Optional(const Optional &O) = default
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
RegBankSelect.cpp 55 cl::desc("Mode of the RegBankSelect pass"), cl::Hidden, cl::Optional,
  /src/external/bsd/libevent/dist/
event_rpcgen.py 273 # Optional entries do not have to be set
274 if entry.Optional():
287 if entry.Optional():
361 if not entry.Optional():
458 def Optional(self):
489 'Entry "%s" has illegal combination of optional and array '
1477 optional = False
1488 if not optional and token == "optional":
1489 optional = Tru
    [all...]
  /src/external/bsd/ntp/dist/sntp/libevent/
event_rpcgen.py 273 # Optional entries do not have to be set
274 if entry.Optional():
287 if entry.Optional():
361 if not entry.Optional():
458 def Optional(self):
489 'Entry "%s" has illegal combination of optional and array '
1477 optional = False
1488 if not optional and token == "optional":
1489 optional = Tru
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
CodeCompleteConsumer.h 25 #include "llvm/ADT/Optional.h"
359 llvm::Optional<CXXScopeSpec> ScopeSpecifier;
422 llvm::Optional<const CXXScopeSpec *> getCXXScopeSpecifier() {
453 /// A code completion string that is entirely optional. For example,
454 /// an optional code completion string that describes the default arguments
532 /// The optional code completion string is owned by the chunk, and will
534 CodeCompletionString *Optional;
544 /// Create a new optional chunk.
545 static Chunk CreateOptional(CodeCompletionString *Optional);
716 /// Add a new optional chunk
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
gmock-matchers.h 3261 // Implements a matcher that checks the value of a optional<> type variable.
3268 template <typename Optional>
3269 operator Matcher<Optional>() const {
3270 return Matcher<Optional>(new Impl<const Optional&>(value_matcher_));
3273 template <typename Optional>
3274 class Impl : public MatcherInterface<Optional> {
3276 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Optional) OptionalView;
3291 bool MatchAndExplain(Optional optional,
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CommandLine.h 24 #include "llvm/ADT/Optional.h"
119 Optional = 0x00, // Zero or One occurrence
1500 : Option(llvm::cl::Optional, NotHidden), Parser(*this) {
1914 : Option(Optional, Hidden), AliasFor(nullptr) {
2100 llvm::Optional<llvm::StringRef> CurrentDir,
2109 llvm::Optional<llvm::StringRef> CurrentDir = llvm::None);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclObjC.h 144 enum ImplementationControl { None, Required, Optional };
507 return getImplementationControl() == Optional;
734 enum PropertyControl { None, Required, Optional };
748 // \@required/\@optional
904 // Related to \@optional/\@required declared in \@protocol
914 return getPropertyImplementation() == PropertyControl::Optional;

Completed in 117 milliseconds