OSDN Git Service

DebugInfo: Allow DebugLocs to be constructed from const
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 16 Apr 2015 16:56:29 +0000 (16:56 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 16 Apr 2015 16:56:29 +0000 (16:56 +0000)
commitd6629b3db8a731259c8f6de12c6df79bf079d2a4
tree03fedf0f31b39be3225f46301ad661c004725887
parent896b86d4217e179e4b88161dbbdfcb8a52ca45c5
DebugInfo: Allow DebugLocs to be constructed from const

Allow `const`-qualified pointers to be used to construct `DebugLoc`s, as
a convenience.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235115 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugLoc.h
lib/IR/DebugLoc.cpp