diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-02 20:21:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-02 20:21:22 +0000 |
commit | b14ae790a7bbd726f300635928fea6560786b812 (patch) | |
tree | c7c12d8e81ba80c497669b36c5d44ec098791a0b /lib/VMCore/Core.cpp | |
parent | a6be914df3d1dce5ebcf1f85703339639080f12d (diff) | |
download | external_llvm-b14ae790a7bbd726f300635928fea6560786b812.zip external_llvm-b14ae790a7bbd726f300635928fea6560786b812.tar.gz external_llvm-b14ae790a7bbd726f300635928fea6560786b812.tar.bz2 |
rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h.
This keeps around temporary typedef for clang/llvm-gcc so the
build won't break when I commit this :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Core.cpp')
-rw-r--r-- | lib/VMCore/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 44d487a..634407c 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -1671,7 +1671,7 @@ void LLVMDisposeBuilder(LLVMBuilderRef Builder) { void LLVMSetCurrentDebugLocation(LLVMBuilderRef Builder, LLVMValueRef L) { MDNode *Loc = L ? unwrap<MDNode>(L) : NULL; - unwrap(Builder)->SetCurrentDebugLocation(NewDebugLoc::getFromDILocation(Loc)); + unwrap(Builder)->SetCurrentDebugLocation(DebugLoc::getFromDILocation(Loc)); } LLVMValueRef LLVMGetCurrentDebugLocation(LLVMBuilderRef Builder) { |