diff options
| -rw-r--r-- | llvm/include/llvm/ExecutionEngine/JITSymbol.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/JITSymbol.h b/llvm/include/llvm/ExecutionEngine/JITSymbol.h index aeebfd8b1c0..933b3ea8e13 100644 --- a/llvm/include/llvm/ExecutionEngine/JITSymbol.h +++ b/llvm/include/llvm/ExecutionEngine/JITSymbol.h @@ -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; } |

