forked from OSchip/llvm-project
[ORC] Fix some comments in JITSymbol.
Patch by Breckin Loggins. Thanks Breckin! llvm-svn: 312607
This commit is contained in:
parent
53335d6d86
commit
6dbf0876c1
|
@ -67,21 +67,22 @@ public:
|
|||
return (Flags & HasError) == HasError;
|
||||
}
|
||||
|
||||
/// @brief Returns true is the Weak flag is set.
|
||||
/// @brief Returns true if the Weak flag is set.
|
||||
bool isWeak() const {
|
||||
return (Flags & Weak) == Weak;
|
||||
}
|
||||
|
||||
/// @brief Returns true is the Weak flag is set.
|
||||
/// @brief Returns true if the Common flag is set.
|
||||
bool isCommon() const {
|
||||
return (Flags & Common) == Common;
|
||||
}
|
||||
|
||||
/// @brief Returns true if the symbol isn't weak or common.
|
||||
bool isStrongDefinition() const {
|
||||
return !isWeak() && !isCommon();
|
||||
}
|
||||
|
||||
/// @brief Returns true is the Weak flag is set.
|
||||
/// @brief Returns true if the Exported flag is set.
|
||||
bool isExported() const {
|
||||
return (Flags & Exported) == Exported;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue