OSDN Git Service

[ORC] Fix some comments in JITSymbol.
authorLang Hames <lhames@gmail.com>
Wed, 6 Sep 2017 02:53:37 +0000 (02:53 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 6 Sep 2017 02:53:37 +0000 (02:53 +0000)
Patch by Breckin Loggins. Thanks Breckin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312607 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/JITSymbol.h

index aeebfd8..933b3ea 100644 (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;
   }