LLVM: lib/Object/WindowsResource.cpp File Reference (original) (raw)
Go to the source code of this file.
| Namespaces |
|
| namespace |
llvm |
|
This is an optimization pass for GlobalISel generic memory operations. |
| namespace |
llvm::object |
| Functions |
|
| static Error |
llvm::object::readStringOrId (BinaryStreamReader &Reader, uint16_t &ID, ArrayRef< UTF16 > &Str, bool &IsString) |
| LLVM_ABI void |
llvm::object::printResourceTypeName (uint16_t TypeID, raw_ostream &OS) |
| static bool |
llvm::object::convertUTF16LEToUTF8String (ArrayRef< UTF16 > Src, std::string &Out) |
| static std::string |
llvm::object::makeDuplicateResourceError (const ResourceEntryRef &Entry, StringRef File1, StringRef File2) |
| static void |
llvm::object::printStringOrID (const WindowsResourceParser::StringOrID &S, raw_string_ostream &OS, bool IsType, bool IsID) |
| static std::string |
llvm::object::makeDuplicateResourceError (const std::vector< WindowsResourceParser::StringOrID > &Context, StringRef File1, StringRef File2) |
| static void |
llvm::object::coffnamecpy (char(&Dest)[COFF::NameSize], StringRef Src) |
| LLVM_ABI Expected< std::unique_ptr< MemoryBuffer > > |
llvm::object::writeWindowsResourceCOFF (llvm::COFF::MachineTypes MachineType, const WindowsResourceParser &Parser, uint32_t TimeDateStamp) |
◆ RETURN_IF_ERROR
| #define RETURN_IF_ERROR |
( |
X |
) |
Value:
if (auto EC = X) \
return EC;
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
Definition at line 28 of file WindowsResource.cpp.
◆ UNWRAP_OR_RETURN
| #define UNWRAP_OR_RETURN |
( |
Name, |
| Expr ) |
|
|
Value:
auto Name##OrErr = Expr; \
if (!Name##OrErr) \
return Name##OrErr.takeError(); \
auto Name = *Name##OrErr;
Definition at line 38 of file WindowsResource.cpp.
◆ UNWRAP_REF_OR_RETURN
| #define UNWRAP_REF_OR_RETURN |
( |
Name, |
| Expr ) |
|
|