[llvm] e4f9d4a - updated local branch to incorporate latest changes
YASHASVI KHATAVKAR via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 10 12:25:34 PST 2022
Author: YASHASVI KHATAVKAR
Date: 2022-02-10T15:24:51-05:00
New Revision: e4f9d4a5eee3aa69cc4a06f35ffb5d67b2ae543e
URL: https://github.com/llvm/llvm-project/commit/e4f9d4a5eee3aa69cc4a06f35ffb5d67b2ae543e
DIFF: https://github.com/llvm/llvm-project/commit/e4f9d4a5eee3aa69cc4a06f35ffb5d67b2ae543e.diff
LOG: updated local branch to incorporate latest changes
Added:
Modified:
llvm/include/llvm/IR/DIBuilder.h
llvm/lib/IR/DIBuilder.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/DIBuilder.h b/llvm/include/llvm/IR/DIBuilder.h
index a5e0f550733af..c635659fd625b 100644
--- a/llvm/include/llvm/IR/DIBuilder.h
+++ b/llvm/include/llvm/IR/DIBuilder.h
@@ -235,8 +235,8 @@ namespace llvm {
/// \param StringLengthExp String length expressed in DIExpression form.
/// \param StrLocationExp Optional memory location of the string.
DIStringType *createStringType(StringRef Name,
- DIExpression *StringLengthExp,
- DIExpression *StrLocationExp = nullptr);
+ DIExpression *StringLengthExp,
+ DIExpression *StrLocationExp = nullptr);
/// Create debugging information entry for a qualified
/// type, e.g. 'const int'.
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp
index ea67791448ea6..16f7072d9d044 100644
--- a/llvm/lib/IR/DIBuilder.cpp
+++ b/llvm/lib/IR/DIBuilder.cpp
@@ -302,8 +302,8 @@ DIStringType *DIBuilder::createStringType(StringRef Name,
}
DIStringType *DIBuilder::createStringType(StringRef Name,
- DIExpression *StringLengthExp,
- DIExpression *StrLocationExp) {
+ DIExpression *StringLengthExp,
+ DIExpression *StrLocationExp) {
assert(!Name.empty() && "Unable to create type without name");
return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name, nullptr,
StringLengthExp, StrLocationExp, 0, 0, 0);
More information about the llvm-commits
mailing list