Skip to content

Commit fb92f2b

Browse files
jurahulnikic
andauthored
Update llvm/docs/CodingStandards.rst
Co-authored-by: Nikita Popov <[email protected]>
1 parent 467d0c0 commit fb92f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/CodingStandards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ suppress unused variable warning as follows:
13071307
.. code-block:: c
13081308
13091309
LLVMValueRef Value = LLVMMetadataAsValue(Context, NodeMD);
1310-
assert(LLVMIsAValueAsMetadata(Value) == NULL);
1310+
assert(LLVMIsAValueAsMetadata(Value) != NULL);
13111311
(void)Value;
13121312
13131313
Do Not Use ``using namespace std``

0 commit comments

Comments
 (0)