[PATCH] D143546: [clang-format] Insert a space between a numeric UDL and a dot

2023-02-09 Thread Owen Pan via Phabricator via cfe-commits
owenpan marked an inline comment as done. owenpan added a comment. In D143546#4116196 , @HazardyKnusperkeks wrote: > In D143546#4114341 , @owenpan wrote: > >> In D143546#4113721

[PATCH] D143665: [Clang][RISCV] Guard vector int64, float32, float64 with semantic analysis

2023-02-09 Thread Craig Topper via Phabricator via cfe-commits
craig.topper added inline comments. Comment at: clang/include/clang/AST/Type.h:7209 +inline bool Type::isVectorFloat32Type() const { +#define RVV_TYPE(Name, Id, SingletonId) false || This function is RVV specific so it's name is misleading. It's also identical

[PATCH] D49723: [OpenCL] Check for invalid kernel arguments in array types

2023-02-09 Thread Ayal Zaks via Phabricator via cfe-commits
Ayal added a comment. Herald added a subscriber: Naghasan. Herald added a project: All. In D49723#1178186 , @asavonic wrote: > In D49723#1178127 , @Anastasia wrote: > >> In D49723#1174837

[PATCH] D143680: [WIP][-Wunsafe-buffer-usage] Improve fix-its for local variable declarations with null pointer initializers

2023-02-09 Thread Ziqing Luo via Phabricator via cfe-commits
ziqingluo-90 created this revision. ziqingluo-90 added reviewers: jkorous, NoQ, t-rasmud, malavikasamak. Herald added a project: All. ziqingluo-90 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. For a local pointer declaration of the form `

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks added a comment. Had a chat offline with @mtrofin, wanted to be clear for future purposes that we do need the separate AlwaysInliner pass because it's used in -O0 and constructing a call graph there is non-trivial in terms of compile time. Originally the mandatory mode of the normal in

[PATCH] D143684: Add missing cases to clang switch after D141863

2023-02-09 Thread Krzysztof Drewniak via Phabricator via cfe-commits
krzysz00 created this revision. Herald added a project: All. krzysz00 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Turns out there's a switch on APFloat semantics in clang I wasn't aware of, fix the build error here. Repository: rG L

[PATCH] D143617: [Clang][CMake] Break out Instrument from CLANG_BOLT option

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496249. Amir added a comment. Add perf and perf+LBR support Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143617/new/ https://reviews.llvm.org/D143617 Files: clang/CMakeLists.txt clang/cmake/caches/BOLT.cmake

[clang] 11dcd88 - [Tooling/Inclusion] Use the StdSpecialSymbolMap.inc in the stdlib

2023-02-09 Thread Haojian Wu via cfe-commits
Author: Haojian Wu Date: 2023-02-10T00:04:23+01:00 New Revision: 11dcd88577f4cba30db9c0d0d899008bbf57616d URL: https://github.com/llvm/llvm-project/commit/11dcd88577f4cba30db9c0d0d899008bbf57616d DIFF: https://github.com/llvm/llvm-project/commit/11dcd88577f4cba30db9c0d0d899008bbf57616d.diff LO

[PATCH] D143559: [Tooling/Inclusion] Use the StdSpecialSymbolMap.inc in the stdlib

2023-02-09 Thread Haojian Wu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. hokein marked an inline comment as done. Closed by commit rG11dcd88577f4: [Tooling/Inclusion] Use the StdSpecialSymbolMap.inc in the stdlib (authored by hokein). Chang

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Amara Emerson via Phabricator via cfe-commits
aemerson added a comment. In D143624#4116546 , @aeubanks wrote: > Had a chat offline with @mtrofin, wanted to be clear for future purposes that > we do need the separate AlwaysInliner pass because it's used in -O0 and > constructing a call graph there i

[PATCH] D143617: [Clang][CMake] Support perf, LBR, and Instrument CLANG_BOLT options

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496253. Amir added a comment. Reduce changes Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143617/new/ https://reviews.llvm.org/D143617 Files: clang/CMakeLists.txt clang/cmake/caches/BOLT.cmake clang/utils/

[clang] 5d8da5a - Add missing cases to clang switch after D141863

2023-02-09 Thread Krzysztof Drewniak via cfe-commits
Author: Krzysztof Drewniak Date: 2023-02-09T23:17:55Z New Revision: 5d8da5a208e6501baff7a8fd8de76ea143e49646 URL: https://github.com/llvm/llvm-project/commit/5d8da5a208e6501baff7a8fd8de76ea143e49646 DIFF: https://github.com/llvm/llvm-project/commit/5d8da5a208e6501baff7a8fd8de76ea143e49646.diff

[PATCH] D143684: Add missing cases to clang switch after D141863

2023-02-09 Thread Krzysztof Drewniak via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG5d8da5a208e6: Add missing cases to clang switch after D141863 (aut

[PATCH] D143546: [clang-format] Insert a space between a numeric UDL and a dot

2023-02-09 Thread Owen Pan via Phabricator via cfe-commits
owenpan marked an inline comment as done. owenpan added a comment. In D143546#4116354 , @MyDeveloperDay wrote: > In D143546#4114341 , @owenpan wrote: > >> In D143546#4113721

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Mircea Trofin via Phabricator via cfe-commits
mtrofin accepted this revision. mtrofin added a comment. This revision is now accepted and ready to land. lgtm. Like @aeubanks was saying, let's just give a bit of time (1 month or so?) between when this lands and until we clean up the "mandatory" notion from the advisor, just to make sure nothi

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Mircea Trofin via Phabricator via cfe-commits
mtrofin added a comment. In D143624#4116546 , @aeubanks wrote: > Had a chat offline with @mtrofin, wanted to be clear for future purposes that > we do need the separate AlwaysInliner pass because it's used in -O0 and > constructing a call graph there is

[PATCH] D143617: [Clang][CMake] Support perf, LBR, and Instrument CLANG_BOLT options

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496271. Amir added a comment. Reduce changes Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143617/new/ https://reviews.llvm.org/D143617 Files: clang/CMakeLists.txt clang/cmake/caches/BOLT.cmake clang/utils/

[PATCH] D143617: [Clang][CMake] Support perf, LBR, and Instrument CLANG_BOLT options

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496272. Amir added a comment. Reduce changes Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143617/new/ https://reviews.llvm.org/D143617 Files: clang/CMakeLists.txt clang/cmake/caches/BOLT.cmake clang/utils/

[PATCH] D143617: [Clang][CMake] Support perf, LBR, and Instrument CLANG_BOLT options

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496273. Amir added a comment. Reduce changes Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143617/new/ https://reviews.llvm.org/D143617 Files: clang/CMakeLists.txt clang/cmake/caches/BOLT.cmake clang/utils/

[PATCH] D143553: [Clang][CMake] Use perf-training for Clang-BOLT

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496274. Amir edited the summary of this revision. Amir added a comment. Remove sysroot_flags Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143553/new/ https://reviews.llvm.org/D143553 Files: clang/CMakeLists.tx

[PATCH] D49723: [OpenCL] Check for invalid kernel arguments in array types

2023-02-09 Thread Andrew Savonichev via Phabricator via cfe-commits
asavonic added a comment. In D49723#4116435 , @Ayal wrote: > This is admittedly a couple of years old by now, but wonder about that other > intended patch - Clang still seems to consider pointers in struct arguments > to be illegal in CL2.0 (and CL3.0) -

[PATCH] D143472: [clang] Cast the pointer to right type with different address space

2023-02-09 Thread Chunyang, Dai via Phabricator via cfe-commits
cdai2 updated this revision to Diff 496275. cdai2 added a comment. Update cases to cover both opaque pointer and typed pointer Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143472/new/ https://reviews.llvm.org/D143472 Files: clang/lib/CodeGen/CG

[PATCH] D143617: [Clang][CMake] Support perf, LBR, and Instrument CLANG_BOLT options

2023-02-09 Thread Amir Ayupov via Phabricator via cfe-commits
Amir updated this revision to Diff 496276. Amir added a comment. Reduce changes Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143617/new/ https://reviews.llvm.org/D143617 Files: clang/CMakeLists.txt clang/cmake/caches/BOLT.cmake clang/utils/

[PATCH] D143691: Fix clang-formats IncludeCategory to match the documentation

2023-02-09 Thread Fabian Keßler via Phabricator via cfe-commits
Febbe created this revision. Herald added a project: All. Febbe requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. - Main Include Files have now always prio (0,0) - They can't be matched by negative matchers anymore. - `SortPriority` now truly

[PATCH] D143692: [clang][driver] Emit error when enabling emulated tls on unsupported architectures

2023-02-09 Thread Paul Kirth via Phabricator via cfe-commits
paulkirth created this revision. paulkirth added reviewers: arichardson, hiraditya, jrtc27, phosek. Herald added subscribers: luismarques, s.egerton, PkmX, simoncook. Herald added a project: All. paulkirth requested review of this revision. Herald added subscribers: cfe-commits, pcwang-thead, MaskR

[PATCH] D143692: [clang][driver] Emit error when enabling emulated tls on unsupported architectures

2023-02-09 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay accepted this revision. MaskRay added inline comments. This revision is now accepted and ready to land. Comment at: clang/lib/Driver/ToolChains/Clang.cpp:6170 + + if (Arg *A = Args.getLastArg(options::OPT_femulated_tls)) { +// LLVM does not support Emulated TLS for s

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks added inline comments. Comment at: llvm/lib/Passes/PassBuilderPipelines.cpp:1082 + MPM.addPass(AlwaysInlinerPass(/*InsertLifetimeIntrinsics=*/false)); + aeubanks wrote: > I think we want to insert lifetime intrinsics when optimizing this will never be

[PATCH] D143691: Fix clang-formats IncludeCategory to match the documentation

2023-02-09 Thread Fabian Keßler via Phabricator via cfe-commits
Febbe added a comment. Still some issues with: SortPriorities The following settings (note the SortPriority of '^<.*' == 1) which will produce an extra group for the attached includes: IncludeCategories: - Regex: '^' Priority:2 SortPriority:2 - Regex:

[PATCH] D143670: Stop claiming we support [[carries_dependency]]

2023-02-09 Thread Erich Keane via Phabricator via cfe-commits
erichkeane requested changes to this revision. erichkeane added a comment. This revision now requires changes to proceed. The guidance from EWG this week and in the past was that we are always required to 'parse and diagnose appertainment' of standard attributes, but not to enable __has_cpp_attr

[PATCH] D143691: Fix clang-formats IncludeCategory to match the documentation

2023-02-09 Thread Fabian Keßler via Phabricator via cfe-commits
Febbe added inline comments. Comment at: clang/lib/Tooling/Inclusions/HeaderIncludes.cpp:16 #include namespace clang { `` is used, but not included. Currently, it works, since another header already included it. Repository: rG LLVM Github Monorepo CHAN

[PATCH] D143692: [clang][driver] Emit error when enabling emulated tls on unsupported architectures

2023-02-09 Thread Paul Kirth via Phabricator via cfe-commits
paulkirth updated this revision to Diff 496290. paulkirth added a comment. Address comments. - use render and remove redundant/incorrect call to `AddLastArg`. - add test to make sure we don't issue an error when emulated TLS is disabled on unsupported platforms Repository: rG LLVM Github Mon

[PATCH] D143455: [-Wunsafe-buffer-usage] Emit Fix-Its only for C++20 and later standards

2023-02-09 Thread Jan Korous via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG8b6ae9bd7466: [-Wunsafe-buffer-usage] Emit Fix-Its only for C++20 and later standards (authored by jkorous). Herald added a project: clang. Herald ad

[clang] 8b6ae9b - [-Wunsafe-buffer-usage] Emit Fix-Its only for C++20 and later standards

2023-02-09 Thread Jan Korous via cfe-commits
Author: Jan Korous Date: 2023-02-09T17:28:27-08:00 New Revision: 8b6ae9bd7466bd3ceefcd8bd0262b9b085481697 URL: https://github.com/llvm/llvm-project/commit/8b6ae9bd7466bd3ceefcd8bd0262b9b085481697 DIFF: https://github.com/llvm/llvm-project/commit/8b6ae9bd7466bd3ceefcd8bd0262b9b085481697.diff LO

[PATCH] D143455: [-Wunsafe-buffer-usage] Emit Fix-Its only for C++20 and later standards

2023-02-09 Thread Jan Korous via Phabricator via cfe-commits
jkorous added a comment. We actually have only commits with warnings in `release/16.x` - no Fix-Its. So no need to cherry-pick. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143455/new/ https://reviews.llvm.org/D143455 ___

[PATCH] D143665: [Clang][RISCV] Guard vector int64, float32, float64 with semantic analysis

2023-02-09 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD added inline comments. Comment at: clang/include/clang/Basic/TargetInfo.h:668 + /// Determine whether vector int64 type is supported on this target. + virtual bool hasVectorInt64Support() const { return false; } + craig.topper wrote: > Having a different

[PATCH] D143665: [Clang][RISCV] Guard vector int64, float32, float64 with semantic analysis

2023-02-09 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD added inline comments. Comment at: clang/lib/Sema/Sema.cpp:2049 -if (Ty->isVectorFloat16Type() && -!Context.getTargetInfo().hasVectorFloat16Support()) { +if ((Ty->isVectorInt64Type() && + !Context.getTargetInfo().hasVectorInt64Support()) || ---

[PATCH] D143692: [clang][driver] Emit error when enabling emulated tls on unsupported architectures

2023-02-09 Thread Aditya Kumar via Phabricator via cfe-commits
hiraditya accepted this revision. hiraditya added a comment. LGTM, thanks for putting this patch. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143692/new/ https://reviews.llvm.org/D143692 ___ cfe-commit

[PATCH] D143670: Stop claiming we support [[carries_dependency]]

2023-02-09 Thread Tom Honermann via Phabricator via cfe-commits
tahonermann added a comment. > The guidance from EWG this week and in the past was that we are always > required to 'parse and diagnose appertainment' of standard attributes, but > not to enable __has_cpp_attribute unless we actually 'do' something with it. > I intend/suggest we add a condition

[clang] 6470706 - [C++20] [Modules] [NFC] Add Preprocessor methods for named modules - for ClangScanDeps (1/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T10:11:36+08:00 New Revision: 6470706bc0ed2425704bc8c9e121a72e2d272616 URL: https://github.com/llvm/llvm-project/commit/6470706bc0ed2425704bc8c9e121a72e2d272616 DIFF: https://github.com/llvm/llvm-project/commit/6470706bc0ed2425704bc8c9e121a72e2d272616.diff LO

[PATCH] D137526: [C++20] [Modules] [NFC] Add Preprocessor methods for named modules - for ClangScanDeps (1/4)

2023-02-09 Thread Chuanqi Xu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG6470706bc0ed: [C++20] [Modules] [NFC] Add Preprocessor methods for named modules - for… (authored by ChuanqiXu). Herald added a project: clang. Heral

[PATCH] D143670: Stop claiming we support [[carries_dependency]]

2023-02-09 Thread Hubert Tong via Phabricator via cfe-commits
hubert.reinterpretcast requested changes to this revision. hubert.reinterpretcast added inline comments. Comment at: clang/test/Preprocessor/has_attribute.cpp:51 // FIXME(201806L) CHECK: assert: 0 -// CHECK: carries_dependency: 200809L +// CHECK: carries_dependency: 0 // CHECK:

[PATCH] D142584: [CodeGen] Add a boolean flag to `Address::getPointer` and `Lvalue::getPointer` that indicates whether the pointer is known not to be null

2023-02-09 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak updated this revision to Diff 496305. ahatanak added a comment. - Set the `KnownNonNull` bit correctly when `Address::withAlignment` is called. - Pass `NotKnownNonNull` to the call to `Addr.withPointer` when the address of thread local storage is created. Repository: rG LLVM Github M

[clang] de17c66 - [C++20] [Modules] [ClangScanDeps] Add ClangScanDeps support for C++20 Named Modules in P1689 format (2/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T10:26:43+08:00 New Revision: de17c665e3f995c7f5a0e453461ce3a1b8aec196 URL: https://github.com/llvm/llvm-project/commit/de17c665e3f995c7f5a0e453461ce3a1b8aec196 DIFF: https://github.com/llvm/llvm-project/commit/de17c665e3f995c7f5a0e453461ce3a1b8aec196.diff LO

[PATCH] D137527: [C++20] [Modules] [ClangScanDeps] Add ClangScanDeps support for C++20 Named Modules in P1689 format (2/4)

2023-02-09 Thread Chuanqi Xu via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGde17c665e3f9: [C++20] [Modules] [ClangScanDeps] Add ClangScanDeps

[PATCH] D142584: [CodeGen] Add a boolean flag to `Address::getPointer` and `Lvalue::getPointer` that indicates whether the pointer is known not to be null

2023-02-09 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak added inline comments. Comment at: clang/lib/CodeGen/CGExpr.cpp:1723 + Addr = + Addr.withPointer(Builder.CreateThreadLocalAddress(GV), KnownNonNull); ahatanak wrote: > `KnownNonNull` is being passed here because the address of a load must

[PATCH] D143670: Stop claiming we support [[carries_dependency]]

2023-02-09 Thread Hubert Tong via Phabricator via cfe-commits
hubert.reinterpretcast added a comment. I think it may be an option to use the `gnu++*` modes to do deliberately non-conforming things, but I believe there should be an RFC for that first. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143670/new/

[clang] 591fdcd - [C++20] [Modules] [ClangScanDeps] Allow clang-scan-deps to without specified compilation database in P1689 (3/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T10:42:04+08:00 New Revision: 591fdcde921334b2d502779006d7c168307a2106 URL: https://github.com/llvm/llvm-project/commit/591fdcde921334b2d502779006d7c168307a2106 DIFF: https://github.com/llvm/llvm-project/commit/591fdcde921334b2d502779006d7c168307a2106.diff LO

[PATCH] D137534: [C++20] [Modules] [ClangScanDeps] Allow clang-scan-deps to without specified compilation database in P1689 (3/4)

2023-02-09 Thread Chuanqi Xu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG591fdcde9213: [C++20] [Modules] [ClangScanDeps] Allow clang-scan-deps to without specified… (authored by ChuanqiXu). Changed prior to commit: http

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Arthur Eubanks via Phabricator via cfe-commits
aeubanks added a comment. (my latest comments didn't get addressed in the land) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143624/new/ https://reviews.llvm.org/D143624 ___ cfe-commits mailing list cfe

[clang] 35537ae - [Modules][Test][NFC] Fix -Wsign-compare in clang/unittests/Lex/ModuleDeclStateTest.cpp

2023-02-09 Thread Jie Fu via cfe-commits
Author: Jie Fu Date: 2023-02-10T10:51:21+08:00 New Revision: 35537aea1228df29c4e32049e4750029c5f0693b URL: https://github.com/llvm/llvm-project/commit/35537aea1228df29c4e32049e4750029c5f0693b DIFF: https://github.com/llvm/llvm-project/commit/35537aea1228df29c4e32049e4750029c5f0693b.diff LOG: [

[PATCH] D143657: [Clang][RISCV] Guard vector float16 type correctly with semantic analysis

2023-02-09 Thread Yueh-Ting (eop) Chen via Phabricator via cfe-commits
eopXD updated this revision to Diff 496311. eopXD added a comment. Update code based on comments from Craig. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143657/new/ https://reviews.llvm.org/D143657 Files: clang/include/clang/AST/Type.h clang

[PATCH] D139168: [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4)

2023-02-09 Thread Chuanqi Xu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGe1354763b6e6: [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file… (authored by ChuanqiXu). Changed prior to commit: http

[clang] e135476 - [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T11:23:36+08:00 New Revision: e1354763b6e641e45cc2371270883fcd26edf705 URL: https://github.com/llvm/llvm-project/commit/e1354763b6e641e45cc2371270883fcd26edf705 DIFF: https://github.com/llvm/llvm-project/commit/e1354763b6e641e45cc2371270883fcd26edf705.diff LO

[PATCH] D143319: [clangd] Support iwyu pragma: no_include

2023-02-09 Thread Younan Zhang via Phabricator via cfe-commits
zyounan added a comment. In D143319#4115186 , @kadircet wrote: > thanks a lot for the patch! > > we're migrating IWYU related functionality in clangd to make use of > include-cleaner library nowadays. so can you actually move the IWYU > no_include pragm

[clang] 2db83b1 - [CMake] Fix -DBUILD_SHARED_LIBS=on builds after D137534

2023-02-09 Thread Kai Luo via cfe-commits
Author: Kai Luo Date: 2023-02-10T04:58:20Z New Revision: 2db83b1b311bae3d14067970edf15c6a1d37 URL: https://github.com/llvm/llvm-project/commit/2db83b1b311bae3d14067970edf15c6a1d37 DIFF: https://github.com/llvm/llvm-project/commit/2db83b1b311bae3d14067970edf15c6a1d37.diff LOG: [CMak

[PATCH] D143624: Inlining: Run the legacy AlwaysInliner before the regular inliner.

2023-02-09 Thread Amara Emerson via Phabricator via cfe-commits
aemerson added inline comments. Comment at: llvm/lib/Passes/PassBuilderPipelines.cpp:1082 + MPM.addPass(AlwaysInlinerPass(/*InsertLifetimeIntrinsics=*/false)); + aeubanks wrote: > aeubanks wrote: > > I think we want to insert lifetime intrinsics when optimizin

[PATCH] D143664: [SanitizerBinaryMetadata] Support ignore list

2023-02-09 Thread Dmitry Vyukov via Phabricator via cfe-commits
dvyukov accepted this revision. dvyukov added inline comments. This revision is now accepted and ready to land. Comment at: clang/test/Driver/fsanitize-metadata-ignorelist.c:6 +// RUN: %clang -target aarch64-linux-gnu -fexperimental-sanitize-metadata=all -fexperimental-sanitize-

[PATCH] D143418: [libclang] Add API to set preferred temp dir path

2023-02-09 Thread Igor Kushnir via Phabricator via cfe-commits
vedgy added a subscriber: dblaikie. vedgy added a comment. In D143418#4116290 , @aaron.ballman wrote: >> So how about a more sincere general solution: setPreferredTempDirPath()? The >> documentation would say that libclang tries its best to place tempor

[PATCH] D142655: [clang-tidy] Introduce HeaderFileExtensions and ImplementationFileExtensions options

2023-02-09 Thread Carlos Galvez via Phabricator via cfe-commits
carlosgalvezp updated this revision to Diff 496346. carlosgalvezp added a comment. Document options now that the documentation improvement patch is merged. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142655/new/ https://reviews.llvm.org/D142655

<    1   2