[all-commits] [llvm/llvm-project] dc3cd2: Factor common code for quoting a builtin name (#12...

Chandler Carruth via All-commits all-commits at lists.llvm.org
Fri Jan 3 19:24:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc3cd2e95ee56cdb75f4d0d0742626f912b5c6f3
      https://github.com/llvm/llvm-project/commit/dc3cd2e95ee56cdb75f4d0d0742626f912b5c6f3
  Author: Chandler Carruth <chandlerc at gmail.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/Builtins.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Basic/Builtins.cpp

  Log Message:
  -----------
  Factor common code for quoting a builtin name (#120835)

This shows up in several places in order to match the quoting of other
uses of the same diagnostic. Handling it centrally simplifies the code
and reduces changes if the storage for builtin names changes.

This refactoring is extracted out of #120534 as requested in code
review.



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