diff options
author | Reid Kleckner <rnk@google.com> | 2020-02-21 12:31:00 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2020-02-21 12:33:16 -0800 |
commit | 446b150065c331daa82a9f5436f4987e340e5d6f (patch) | |
tree | f9914006aec2434e27abdca8d316bd9daf86393d /llvm/lib/IR/BasicBlock.cpp | |
parent | 33bf1196475cbc9b84914c41308cf252764803ee (diff) | |
download | llvm-446b150065c331daa82a9f5436f4987e340e5d6f.zip llvm-446b150065c331daa82a9f5436f4987e340e5d6f.tar.gz llvm-446b150065c331daa82a9f5436f4987e340e5d6f.tar.bz2 |
[IR] Update BasicBlock::validateInstrOrdering comments, NFC
Pointed out by Jay Foad.
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
-rw-r--r-- | llvm/lib/IR/BasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp index 679c72f..675deea 100644 --- a/llvm/lib/IR/BasicBlock.cpp +++ b/llvm/lib/IR/BasicBlock.cpp @@ -526,7 +526,7 @@ void BasicBlock::renumberInstructions() { #ifndef NDEBUG /// In asserts builds, this checks the numbering. In non-asserts builds, it -/// is defined as an inline function returning true in BasicBlock.h. +/// is defined as a no-op inline function in BasicBlock.h. void BasicBlock::validateInstrOrdering() const { if (!isInstrOrderValid()) return; |