[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/78436 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/78436 >From ec8e4ad567daa15ddef6c90380f5b6877009b354 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Wed, 17 Jan 2024 13:26:01 +0100 Subject: [PATCH 1/2] [Clang] Fix dependency of SourceLocExpr. SourceLocExpr tha

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread Aaron Ballman via cfe-commits
@@ -913,6 +913,10 @@ Bug Fixes to C++ Support (`#57410 `_) and (`#76604 `_) +- Fix a bug where clang would produce inconsistent values when + std::source_location::curren

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread Aaron Ballman via cfe-commits
@@ -913,6 +913,10 @@ Bug Fixes to C++ Support (`#57410 `_) and (`#76604 `_) +- Fix a bug where clang would produce inconsistent values when + std::source_location::curren

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman approved this pull request. LGTM aside from some nits with the release note. https://github.com/llvm/llvm-project/pull/78436 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman edited https://github.com/llvm/llvm-project/pull/78436 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: cor3ntin (cor3ntin) Changes SourceLocExpr that may produce a function name are marked dependent so that the non-instantiated name of a function does not get evaluated. In GH78128, the name('s size) is used as template argument to a `DeclRe

[clang] [Clang] Fix dependency of SourceLocExpr. (PR #78436)

2024-01-17 Thread via cfe-commits
https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/78436 SourceLocExpr that may produce a function name are marked dependent so that the non-instantiated name of a function does not get evaluated. In GH78128, the name('s size) is used as template argument to a `DeclRe