From: Lang Hames Date: Wed, 6 Sep 2017 02:53:37 +0000 (+0000) Subject: [ORC] Fix some comments in JITSymbol. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c6e541016195cac366e51a0e85c6709f1ff06eb;p=llvm [ORC] Fix some comments in JITSymbol. Patch by Breckin Loggins. Thanks Breckin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312607 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/JITSymbol.h b/include/llvm/ExecutionEngine/JITSymbol.h index aeebfd8b1c0..933b3ea8e13 100644 --- a/include/llvm/ExecutionEngine/JITSymbol.h +++ b/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; }