[all-commits] [llvm/llvm-project] 2c18da: [CIR] NFC: Drop redundant llvm:: qualifiers in sre...

adams381 via All-commits all-commits at lists.llvm.org
Thu Jun 11 11:16:19 PDT 2026


  Branch: refs/heads/users/adams381/cir-callconv-lowering-indirect-sret
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c18daee8c46bb64df03ceee06a113e00ef6bdcc
      https://github.com/llvm/llvm-project/commit/2c18daee8c46bb64df03ceee06a113e00ef6bdcc
  Author: Adam Smith <adams at nvidia.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp

  Log Message:
  -----------
  [CIR] NFC: Drop redundant llvm:: qualifiers in sret lowering

Restore `using namespace mlir;` in CIRABIRewriteContext.cpp so the LLVM
ADT names re-exported into the mlir namespace (SmallVector, ArrayRef,
StringRef, SmallPtrSet, function_ref) are in scope without an explicit
llvm:: qualifier.  An earlier review fixup had removed the directive and
qualified every ADT type with llvm::, over-applying the qualifier to
unambiguous names.

llvm:: is kept on the free functions mlir does not re-export (enumerate,
any_of, append_range), and mlir:: stays explicit on MLIR types.  No
functional change.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list