[ORC] Fix some comments in JITSymbol.

Patch by Breckin Loggins. Thanks Breckin!

llvm-svn: 312607
This commit is contained in:
Lang Hames 2017-09-06 02:53:37 +00:00
parent 53335d6d86
commit 6dbf0876c1
1 changed files with 4 additions and 3 deletions

View File

@ -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;
}