[all-commits] [llvm/llvm-project] d8ca85: [clang][ExprConst] Remove Loc param (#151461)

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Aug 1 05:09:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8ca85a184c0fb511fe6483c4c24e48b5b1eb07a
      https://github.com/llvm/llvm-project/commit/d8ca85a184c0fb511fe6483c4c24e48b5b1eb07a
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-08-01 (Fri, 01 Aug 2025)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Sema/SemaDecl.cpp

  Log Message:
  -----------
  [clang][ExprConst] Remove Loc param (#151461)

The Loc param to these functions was weird and not always set in error
cases. It wasn't reliable to use.

This was almost entirely unused inside of clang and the one call site
that used the returned source location doesn't make a difference in
practice.



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