[llvm] 25abd19 - [YAMLParser] Fix a typo: iff -> if. NFC.

Xing GUO via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 21:43:00 PDT 2020


Author: Xing GUO
Date: 2020-08-04T12:42:42+08:00
New Revision: 25abd1994ed209c1bf4139946a42e36a42143a85

URL: https://github.com/llvm/llvm-project/commit/25abd1994ed209c1bf4139946a42e36a42143a85
DIFF: https://github.com/llvm/llvm-project/commit/25abd1994ed209c1bf4139946a42e36a42143a85.diff

LOG: [YAMLParser] Fix a typo: iff -> if. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/Support/YAMLParser.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/YAMLParser.h b/llvm/include/llvm/Support/YAMLParser.h
index 53009d7ff4aa..44daf7850904 100644
--- a/llvm/include/llvm/Support/YAMLParser.h
+++ b/llvm/include/llvm/Support/YAMLParser.h
@@ -222,7 +222,7 @@ class ScalarNode final : public Node {
 
   /// Gets the value of this node as a StringRef.
   ///
-  /// \param Storage is used to store the content of the returned StringRef iff
+  /// \param Storage is used to store the content of the returned StringRef if
   ///        it requires any modification from how it appeared in the source.
   ///        This happens with escaped characters and multi-line literals.
   StringRef getValue(SmallVectorImpl<char> &Storage) const;


        


More information about the llvm-commits mailing list