X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FIR%2FIntrinsicInst.cpp;h=57252840bf01a8970157692fc43bb51a19517d4b;hb=7ce4ac12fc5b0522c5adae6abdd0d8bb552f6ef1;hp=ac8ec2086b18f58d42d204c4ac23f9faa020840d;hpb=c2c50cdcdc19a1bca993c06d13d8cdca87083ce4;p=oota-llvm.git diff --git a/lib/IR/IntrinsicInst.cpp b/lib/IR/IntrinsicInst.cpp index ac8ec2086b1..57252840bf0 100644 --- a/lib/IR/IntrinsicInst.cpp +++ b/lib/IR/IntrinsicInst.cpp @@ -1,4 +1,4 @@ -//===-- InstrinsicInst.cpp - Intrinsic Instruction Wrappers -----*- C++ -*-===// +//===-- InstrinsicInst.cpp - Intrinsic Instruction Wrappers ---------------===// // // The LLVM Compiler Infrastructure // @@ -21,10 +21,10 @@ // //===----------------------------------------------------------------------===// -#include "llvm/IntrinsicInst.h" -#include "llvm/Constants.h" -#include "llvm/GlobalVariable.h" -#include "llvm/Metadata.h" +#include "llvm/IR/IntrinsicInst.h" +#include "llvm/IR/Constants.h" +#include "llvm/IR/GlobalVariable.h" +#include "llvm/IR/Metadata.h" using namespace llvm; //===----------------------------------------------------------------------===// @@ -35,7 +35,7 @@ static Value *CastOperand(Value *C) { if (ConstantExpr *CE = dyn_cast(C)) if (CE->isCast()) return CE->getOperand(0); - return NULL; + return nullptr; } Value *DbgInfoIntrinsic::StripCast(Value *C) { @@ -57,7 +57,7 @@ Value *DbgDeclareInst::getAddress() const { if (MDNode* MD = cast_or_null(getArgOperand(0))) return MD->getOperand(0); else - return NULL; + return nullptr; } //===----------------------------------------------------------------------===//