[PATCH] D135858: [clang][Interp] Support pointer arithmetic in binary operators

2022-10-28 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder updated this revision to Diff 471711. tbaeder marked 2 inline comments as done. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135858/new/ https://reviews.llvm.org/D135858 Files: clang/lib/AST/Interp/ByteCodeExprGen.cpp clang/lib/AST/Interp/ByteCodeExprGen.h clang/lib/AST/In

[PATCH] D135858: [clang][Interp] Support pointer arithmetic in binary operators

2022-10-28 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added inline comments. Comment at: clang/lib/AST/Interp/Interp.h:970 + if (!Pointer::hasSameArray(LHS, RHS)) { +// TODO: Diagnose. +return false; shafik wrote: > tbaeder wrote: > > This is also not being diagnosed (only rejected) by the current

[clang] c62745e - DiagnosticInfo: Report function location for resource limits

2022-10-28 Thread Matt Arsenault via cfe-commits
Author: Matt Arsenault Date: 2022-10-28T21:42:57-07:00 New Revision: c62745e1678e26185dc93ea30f858c91c03323f9 URL: https://github.com/llvm/llvm-project/commit/c62745e1678e26185dc93ea30f858c91c03323f9 DIFF: https://github.com/llvm/llvm-project/commit/c62745e1678e26185dc93ea30f858c91c03323f9.diff

[clang] 0ebd463 - clang: Improve errors for DiagnosticInfoResourceLimit

2022-10-28 Thread Matt Arsenault via cfe-commits
Author: Matt Arsenault Date: 2022-10-28T21:42:57-07:00 New Revision: 0ebd4638af1f71788ca55f521ed8e1ed8cab518d URL: https://github.com/llvm/llvm-project/commit/0ebd4638af1f71788ca55f521ed8e1ed8cab518d DIFF: https://github.com/llvm/llvm-project/commit/0ebd4638af1f71788ca55f521ed8e1ed8cab518d.diff

[PATCH] D136959: clang: Improve errors for DiagnosticInfoResourceLimit

2022-10-28 Thread Matt Arsenault via Phabricator via cfe-commits
arsenm closed this revision. arsenm added a comment. 0ebd4638af1f71788ca55f521ed8e1ed8cab518d CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136959/new/ https://reviews.llvm.org/D136959 __

[PATCH] D135750: [clang][Interp] Track initialization state of local variables

2022-10-28 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder updated this revision to Diff 471713. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135750/new/ https://reviews.llvm.org/D135750 Files: clang/lib/AST/Interp/ByteCodeExprGen.cpp clang/lib/AST/Interp/ByteCodeStmtGen.cpp clang/lib/AST/Interp/Context.cpp clang/lib/AST/Interp/

[PATCH] D136940: [clang][Driver] allow tilde in user config dir

2022-10-28 Thread Michał Górny via Phabricator via cfe-commits
mgorny requested changes to this revision. mgorny added a comment. This revision now requires changes to proceed. I think you should be able to test it via overriding `HOME` envvar. I suppose you can limit the test to Unix. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION http

[PATCH] D134410: [clang][CodeGen] Add noundef metadata to load instructions (preliminary)

2022-10-28 Thread John McIver via Phabricator via cfe-commits
jmciver added a comment. I'll start fixing reported test failures tomorrow. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134410/new/ https://reviews.llvm.org/D134410 ___ cfe-commits mailing list cfe-com

[PATCH] D137005: [clang][CodeGen] Add noundef metadata to load insturctions (preliminary 2 of 2)

2022-10-28 Thread John McIver via Phabricator via cfe-commits
jmciver created this revision. jmciver added reviewers: nikic, efriedma, aqjune, rjmccall, jdoerfert, vitalybuka. Herald added a project: All. jmciver retitled this revision from "[clang][CodeGen] Add noundef metadata to scalar load insturctions (preliminary 2 of 2)" to "[clang][CodeGen] Add noun

[PATCH] D136940: [clang][Driver] allow tilde in user config dir

2022-10-28 Thread LJC via Phabricator via cfe-commits
paperchalice updated this revision to Diff 471717. paperchalice added a comment. Add test on Unix. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136940/new/ https://reviews.llvm.org/D136940 Files: clang/lib/Driver/Driver.cpp clang/test/Driver/

[PATCH] D136940: [clang][Driver] allow tilde in user config dir

2022-10-28 Thread Michał Górny via Phabricator via cfe-commits
mgorny accepted this revision. mgorny added a comment. This revision is now accepted and ready to land. Thanks. I haven't tested it but if it works for you and the test passes, LGTM. @MaskRay, would you be able to test and push it? I don't have a recent clang build tree handy. Repository: rG

[clang] 0e40a78 - [clang][NFC] sync comments from declaration of InitializePreprocessor

2022-10-28 Thread YingChi Long via cfe-commits
Author: YingChi Long Date: 2022-10-29T14:23:03+08:00 New Revision: 0e40a78319232ff22dcc54dcb92bfef8495325f1 URL: https://github.com/llvm/llvm-project/commit/0e40a78319232ff22dcc54dcb92bfef8495325f1 DIFF: https://github.com/llvm/llvm-project/commit/0e40a78319232ff22dcc54dcb92bfef8495325f1.diff

[clang] 30ea3fc - [clang-format][NFC] Move BracesRemover tests out of FormatTest.cpp

2022-10-28 Thread via cfe-commits
Author: owenca Date: 2022-10-28T23:44:41-07:00 New Revision: 30ea3fcc4c694d9ef3f914f3ad57eef32dc5b910 URL: https://github.com/llvm/llvm-project/commit/30ea3fcc4c694d9ef3f914f3ad57eef32dc5b910 DIFF: https://github.com/llvm/llvm-project/commit/30ea3fcc4c694d9ef3f914f3ad57eef32dc5b910.diff LOG: [

[PATCH] D136830: [clang-format][NFC] Move BracesRemover tests out of FormatTest.cpp

2022-10-28 Thread Owen Pan 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 rG30ea3fcc4c69: [clang-format][NFC] Move BracesRemover tests out of FormatTest.cpp (authored by owenpan). Repository: rG LLVM Github Monorepo CHANG

<    1   2   3