[PATCH] D106343: [OpenCL] Support cl_ext_float_atomics

2021-08-22 Thread Yang Haonan via Phabricator via cfe-commits
haonanya updated this revision to Diff 367980. haonanya added a comment. Let builtins are guarded by related macro CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106343/new/ https://reviews.llvm.org/D106343 Files: clang/lib/Headers/opencl-c-base.h clang/lib/Headers/opencl-c.h clan

[clang] 7f48bd3 - CGBuiltin.cpp - pass SVETypeFlags by const reference. NFC.

2021-08-22 Thread Simon Pilgrim via cfe-commits
Author: Simon Pilgrim Date: 2021-08-22T12:13:17+01:00 New Revision: 7f48bd3bed9540cc4c72091dfb38e40dfac24aa4 URL: https://github.com/llvm/llvm-project/commit/7f48bd3bed9540cc4c72091dfb38e40dfac24aa4 DIFF: https://github.com/llvm/llvm-project/commit/7f48bd3bed9540cc4c72091dfb38e40dfac24aa4.diff

[PATCH] D107775: [Clang][AST] Resolve FIXME: Remove ObjCObjectPointer from isSpecifierType

2021-08-22 Thread Alf via Phabricator via cfe-commits
gAlfonso-bit updated this revision to Diff 367988. gAlfonso-bit added a reviewer: lhames. gAlfonso-bit added a comment. Rebased CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107775/new/ https://reviews.llvm.org/D107775 Files: clang/lib/AST/DeclPrinter.cpp clang/lib/AST/Type.cpp c

[PATCH] D70469: [attributes] [analyzer] Add handle related attributes

2021-08-22 Thread Paul Herman via Phabricator via cfe-commits
paulherman added inline comments. Herald added subscribers: manas, steakhal, jdoerfert, ASDenysPetrov, phosek. Comment at: clang/include/clang/Basic/AttrDocs.td:4724 + zx_status_t zx_socket_create(uint32_t options, + zx_handle_t __attribute__((acqui

[PATCH] D108525: Fix documentation and snippets for the handle attributes.

2021-08-22 Thread Paul Herman via Phabricator via cfe-commits
paulherman created this revision. Herald added a reviewer: aaron.ballman. paulherman requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D108525 Files: clang/include/clang/Basic

[PATCH] D108526: [clang][nfc] Mark as P0692R1 as implemented.

2021-08-22 Thread Corentin Jabot via Phabricator via cfe-commits
cor3ntin created this revision. cor3ntin requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. P0692R1 was implemented in https://reviews.llvm.org/D92024 but the status page was not updated. Repository: rG LLVM Github Monorepo https://review

[PATCH] D106618: [Clang][LLVM] generate btf_tag annotations for DISubprogram types

2021-08-22 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song updated this revision to Diff 368015. yonghong-song added a comment. - simplify clang code due to https://reviews.llvm.org/D106616 - fix a couple of clang-format warnings. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106618/new/ http

[PATCH] D106618: [Clang][LLVM] generate btf_tag annotations for DISubprogram types

2021-08-22 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song added a comment. @dblaikie could you take a look at this patch? Similar to a couple of previous similar patches, if accepted, I will break the patch into two pieces, one for clang and another for llvm, and commit them separately. Repository: rG LLVM Github Monorepo CHANGES SIN

[PATCH] D82657: [AST][RecoveryAST] Preserve the type by default for recovery expression.

2021-08-22 Thread guopeilin via Phabricator via cfe-commits
guopeilin added a comment. In D82657#2956851 , @sammccall wrote: > In D82657#2956751 , @guopeilin wrote: > >> Hi @hokein , I encounter a bug when clang parses enum and I have been >> recorded in https://bugs.llvm.o

[clang] 2c6ffb4 - [NFC] clang-format -i clang/lib/CodeGen/CGStmtOpenMP.cpp

2021-08-22 Thread Shilei Tian via cfe-commits
Author: Shilei Tian Date: 2021-08-22T22:57:05-04:00 New Revision: 2c6ffb4eb20a2598148fdcc819e62f856ccaa373 URL: https://github.com/llvm/llvm-project/commit/2c6ffb4eb20a2598148fdcc819e62f856ccaa373 DIFF: https://github.com/llvm/llvm-project/commit/2c6ffb4eb20a2598148fdcc819e62f856ccaa373.diff L

[PATCH] D102449: [WIP][Clang][OpenMP] Add the support for compare clause in atomic directive

2021-08-22 Thread Shilei Tian via Phabricator via cfe-commits
tianshilei1992 updated this revision to Diff 368027. tianshilei1992 added a comment. rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D102449/new/ https://reviews.llvm.org/D102449 Files: clang/include/clang/AST/OpenMPClause.h clang/include/

[PATCH] D105169: [Clang/Test]: Enable enable_noundef_analysis by default

2021-08-22 Thread Juneyoung Lee via Phabricator via cfe-commits
aqjune updated this revision to Diff 368033. aqjune added a comment. Rename `disable-noundef-args` to `disable-noundef-analysis` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D105169/new/ https://reviews.llvm.org/D105169 Files: clang/include/clan

[PATCH] D105169: [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default

2021-08-22 Thread Juneyoung Lee via Phabricator via cfe-commits
aqjune added a comment. Hello all, I'm a messenger of @hyeongyukim's two patches that allow clang to turn on noundef analysis by default. The noundef analysis flag was added by D81678 in the past. Its goal is to mark arguments and return values in C/C++ as `no