Merge "Fix inconsistency in slang reflection code generation under debug builds"
am: 7858be0238
Change-Id: I81318db0f82524a2fdc3a204b96804a7a119fc9e
diff --git a/slang_rs_object_ref_count.cpp b/slang_rs_object_ref_count.cpp
index 2688ddc..6740a1e 100644
--- a/slang_rs_object_ref_count.cpp
+++ b/slang_rs_object_ref_count.cpp
@@ -938,7 +938,9 @@
clang::SourceLocation(),
FD,
FoundDecl,
- clang::DeclarationNameInfo(),
+ clang::DeclarationNameInfo(
+ FD->getDeclName(),
+ clang::SourceLocation()),
nullptr,
OrigType->getCanonicalTypeInternal(),
clang::VK_RValue,