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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 06:14:51 PST 2024


================
@@ -913,6 +913,10 @@ Bug Fixes to C++ Support
   (`#57410 <https://github.com/llvm/llvm-project/issues/57410>`_) and
   (`#76604 <https://github.com/llvm/llvm-project/issues/57410>`_)
 
+- Fix a bug where clang would produce inconsistent values when
+  std::source_location::current was used in function templates.
----------------
AaronBallman wrote:

```suggestion
  ``std::source_location::current()`` was used in a function template.
```

https://github.com/llvm/llvm-project/pull/78436


More information about the cfe-commits mailing list