Searched refs:valueOrNull (Results 1 – 2 of 2) sorted by relevance
141 static std::unique_ptr<T> valueOrNull(llvm::ErrorOr<std::unique_ptr<T>> Val) { in valueOrNull() function180 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()205 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
8556 const char *const valueOrNull = getenv(variableName); in getDebugLevel() 8557 if (valueOrNull == NULL) { in getDebugLevel() 8560 const char *const value = valueOrNull; in getDebugLevel() 8546 const char *const valueOrNull = getenv(variableName); getDebugLevel() local