ΒΆllvm::Expected<InvocationListTy>
parseInvocationList(
llvm::StringRef FileContent,
llvm::sys::path::Style PathStyle =
llvm::sys::path::Style::posix)
llvm::Expected<InvocationListTy>
parseInvocationList(
llvm::StringRef FileContent,
llvm::sys::path::Style PathStyle =
llvm::sys::path::Style::posix)
Description
Parse the YAML formatted invocation list file content \p FileContent. The format is expected to be a mapping from from absolute source file paths in the filesystem to a list of command-line parts, which constitute the invocation needed to compile that file. That invocation will be used to produce the AST of the TU.
Declared at: clang/include/clang/CrossTU/CrossTranslationUnit.h:108
Parameters
- llvm::StringRef FileContent
- llvm::sys::path::Style PathStyle = llvm::sys::path::Style::posix