[Verifier] clang-format a section; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 9 Nov 2016 19:36:39 +0000 (19:36 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 9 Nov 2016 19:36:39 +0000 (19:36 +0000)
Suggested in D26438 since I'm touching related code.

llvm-svn: 286388

llvm/lib/IR/Verifier.cpp

index 31a181e..d56ff65 100644 (file)
@@ -389,8 +389,8 @@ private:
                        SmallVectorImpl<const MDNode *> &Requirements);
   void visitFunction(const Function &F);
   void visitBasicBlock(BasicBlock &BB);
-  void visitRangeMetadata(Instruction& I, MDNode* Range, Type* Ty);
-  void visitDereferenceableMetadata(Instruction& I, MDNode* MD);
+  void visitRangeMetadata(Instruction &I, MDNode *Range, Type *Ty);
+  void visitDereferenceableMetadata(Instruction &I, MDNode *MD);
   void visitTBAAMetadata(Instruction &I, MDNode *MD);
 
   template <class Ty> bool isValidMetadataArray(const MDTuple &N);
@@ -2968,10 +2968,8 @@ static bool isContiguous(const ConstantRange &A, const ConstantRange &B) {
   return A.getUpper() == B.getLower() || A.getLower() == B.getUpper();
 }
 
-void Verifier::visitRangeMetadata(Instruction& I,
-                                  MDNode* Range, Type* Ty) {
-  assert(Range &&
-         Range == I.getMetadata(LLVMContext::MD_range) &&
+void Verifier::visitRangeMetadata(Instruction &I, MDNode *Range, Type *Ty) {
+  assert(Range && Range == I.getMetadata(LLVMContext::MD_range) &&
          "precondition violation");
 
   unsigned NumOperands = Range->getNumOperands();