[clang] [Clang] Respect MS layout attributes during CUDA/HIP device compilation (PR #146620)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 9 06:32:10 PDT 2025


Michael137 wrote:

This broke the LLDB CI:
```
13:02:41  /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp:834:59: error: too few arguments to function call, expected 3, have 2
13:02:41                                   m_compiler->getLangOpts());
13:02:41                                                            ^
13:02:41  /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/llvm/../clang/include/clang/Basic/TargetInfo.h:1336:16: note: 'adjust' declared here
13:02:41    virtual void adjust(DiagnosticsEngine &Diags, LangOptions &Opts,
13:02:41                 ^
13:02:41  76 warnings and 1 error generated.
```

Mind taking a look? Seems like a simple API update

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


More information about the cfe-commits mailing list