struct ASTFileSignature
Declaration
struct ASTFileSignature : public std::array { /* full declaration omitted */ };
Description
The signature of a module, which is a hash of the AST content.
Declared at: clang/include/clang/Basic/Module.h:56
Inherits from: std::array
Member Variables
- public static const size_t size = std::tuple_size<array<unsigned char, 20>>::value
Method Overview
- public ASTFileSignature(clang::ASTFileSignature::BaseT S = {{0}})
- public static clang::ASTFileSignature create(std::array<uint8_t, 20> Bytes)
- public template <typename InputIt>static clang::ASTFileSignature create(InputIt First, InputIt Last)
- public static clang::ASTFileSignature createDISentinel()
- public bool operator bool() const
- public uint64_t truncatedValue() const
Methods
¶ASTFileSignature(
clang::ASTFileSignature::BaseT S = {{0}})
ASTFileSignature(
clang::ASTFileSignature::BaseT S = {{0}})
Declared at: clang/include/clang/Basic/Module.h:61
Parameters
- clang::ASTFileSignature::BaseT S = {{0}}
¶static clang::ASTFileSignature create(
std::array<uint8_t, 20> Bytes)
static clang::ASTFileSignature create(
std::array<uint8_t, 20> Bytes)
Declared at: clang/include/clang/Basic/Module.h:74
Parameters
- std::array<uint8_t, 20> Bytes
¶template <typename InputIt>
static clang::ASTFileSignature create(
InputIt First,
InputIt Last)
template <typename InputIt>
static clang::ASTFileSignature create(
InputIt First,
InputIt Last)
Declared at: clang/include/clang/Basic/Module.h:85
Templates
- InputIt
Parameters
- InputIt First
- InputIt Last
¶static clang::ASTFileSignature createDISentinel()
static clang::ASTFileSignature createDISentinel()
Declared at: clang/include/clang/Basic/Module.h:78
¶bool operator bool() const
bool operator bool() const
Declared at: clang/include/clang/Basic/Module.h:63
¶uint64_t truncatedValue() const
uint64_t truncatedValue() const
Description
Returns the value truncated to the size of an uint64_t.
Declared at: clang/include/clang/Basic/Module.h:66