[llvm] 17544fa - [NFC][llvm-c] Add full-stop to doc comments

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 02:59:19 PST 2023


Author: Alex Bradbury
Date: 2023-12-06T10:56:31Z
New Revision: 17544fa49df3f890ba22280d10cb28dedd789f9f

URL: https://github.com/llvm/llvm-project/commit/17544fa49df3f890ba22280d10cb28dedd789f9f
DIFF: https://github.com/llvm/llvm-project/commit/17544fa49df3f890ba22280d10cb28dedd789f9f.diff

LOG: [NFC][llvm-c] Add full-stop to doc comments

I'd copied and adjusted the doc comments for LLVMGetNNeg and LLVMSetNNeg
in #74517. Nikita pointed out in that review my comments were missing a
full stop, so I'm applying the same fix to these.

Added: 
    

Modified: 
    llvm/include/llvm-c/Core.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 163cfdcb8da20..a575ec3709fe4 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -3975,13 +3975,13 @@ LLVMBool LLVMGetExact(LLVMValueRef DivOrShrInst);
 void LLVMSetExact(LLVMValueRef DivOrShrInst, LLVMBool IsExact);
 
 /**
- * Gets if the instruction has the non-negative flag set
- * Only valid for zext instructions
+ * Gets if the instruction has the non-negative flag set.
+ * Only valid for zext instructions.
  */
 LLVMBool LLVMGetNNeg(LLVMValueRef NonNegInst);
 /**
- * Sets the non-negative flag for the instruction
- * Only valid for zext instructions
+ * Sets the non-negative flag for the instruction.
+ * Only valid for zext instructions.
  */
 void LLVMSetNNeg(LLVMValueRef NonNegInst, LLVMBool IsNonNeg);
 


        


More information about the llvm-commits mailing list