[llvm] r312607 - [ORC] Fix some comments in JITSymbol.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 19:53:38 PDT 2017


Author: lhames
Date: Tue Sep  5 19:53:37 2017
New Revision: 312607

URL: http://llvm.org/viewvc/llvm-project?rev=312607&view=rev
Log:
[ORC] Fix some comments in JITSymbol.

Patch by Breckin Loggins. Thanks Breckin!

Modified:
    llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h?rev=312607&r1=312606&r2=312607&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h Tue Sep  5 19:53:37 2017
@@ -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;
   }




More information about the llvm-commits mailing list