[clang] 857bf5d - [FIX] Do not copy an llvm::function_ref if it has to be reused

2020-02-15 Thread Johannes Doerfert via cfe-commits
Author: Johannes Doerfert Date: 2020-02-16T00:51:11-06:00 New Revision: 857bf5da35af8e1f9425e1865dab5f5fce5e38f2 URL: https://github.com/llvm/llvm-project/commit/857bf5da35af8e1f9425e1865dab5f5fce5e38f2 DIFF:

[PATCH] D74572: [BPF] preserve debuginfo types for builtin __builtin__btf_type_id()

2020-02-15 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song added a comment. The corresponding clang side of change is https://reviews.llvm.org/D74668 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74572/new/ https://reviews.llvm.org/D74572 ___

[PATCH] D74668: [Clang][BPF] implement __builtin_btf_type_id() builtin function

2020-02-15 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song added a comment. The corresponding LLVM side of change is https://reviews.llvm.org/D74572 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74668/new/ https://reviews.llvm.org/D74668 ___

[PATCH] D74668: [Clang][BPF] implement __builtin_btf_type_id() builtin function

2020-02-15 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song created this revision. yonghong-song added reviewers: ast, anakryiko. yonghong-song added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits. yonghong-song added a comment. The corresponding LLVM side of change is https://reviews.llvm.org/D74572 Such a

[PATCH] D74572: [BPF] preserve debuginfo types for builtin __builtin__btf_type_id()

2020-02-15 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song updated this revision to Diff 244826. yonghong-song retitled this revision from "[WIP][BPF] implement intrinsic function __builtin__btf_type_id()" to "[BPF] preserve debuginfo types for builtin __builtin__btf_type_id()". yonghong-song edited the summary of this revision.

[PATCH] D74602: Fix standalone build interaction with compiler extension

2020-02-15 Thread serge via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG87dac7da68ea: Fix standalone build interaction with compiler extension (authored by serge-sans-paille). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[clang] 87dac7d - Fix standalone build interaction with compiler extension

2020-02-15 Thread via cfe-commits
Author: serge-sans-paille Date: 2020-02-15T11:10:51+01:00 New Revision: 87dac7da68ea1e0adac78c59ef1891dcf9632b67 URL: https://github.com/llvm/llvm-project/commit/87dac7da68ea1e0adac78c59ef1891dcf9632b67 DIFF:

[PATCH] D72304: [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder.

2020-02-15 Thread Johannes Doerfert via Phabricator via cfe-commits
jdoerfert added a comment. In D72304#1877676 , @MaskRay wrote: > `test/CodeGen/opt-record-1.c` triggers an assertion failure. I hope the macro reordering in rGa0236de7a927 did the

[clang] b74a381 - [cxx_status] New papers from Prague 2020 WG21 meeting.

2020-02-15 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-15T02:16:21-08:00 New Revision: b74a381296eef048911bb22dc4eb2d3598460470 URL: https://github.com/llvm/llvm-project/commit/b74a381296eef048911bb22dc4eb2d3598460470 DIFF: https://github.com/llvm/llvm-project/commit/b74a381296eef048911bb22dc4eb2d3598460470.diff

[clang] 34bd51f - PR44890: Inherit explicitly-specified template arguments into base class

2020-02-15 Thread Richard Smith via cfe-commits
Author: Richard Smith Date: 2020-02-15T02:16:21-08:00 New Revision: 34bd51f4b1d9f489e61becb662bdc72bb56dd277 URL: https://github.com/llvm/llvm-project/commit/34bd51f4b1d9f489e61becb662bdc72bb56dd277 DIFF: https://github.com/llvm/llvm-project/commit/34bd51f4b1d9f489e61becb662bdc72bb56dd277.diff

[clang] 549b436 - [MC] De-capitalize MCStreamer::Emit{Bundle, Addrsig}* etc

2020-02-15 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-02-15T09:11:48-08:00 New Revision: 549b436beb4129854e729a3e1398f03429149691 URL: https://github.com/llvm/llvm-project/commit/549b436beb4129854e729a3e1398f03429149691 DIFF: https://github.com/llvm/llvm-project/commit/549b436beb4129854e729a3e1398f03429149691.diff

[PATCH] D74669: [clang-tidy] New check: misc-no-include-cpp

2020-02-15 Thread Jonathan Roelofs via Phabricator via cfe-commits
jroelofs created this revision. jroelofs added a reviewer: aaron.ballman. Herald added subscribers: cfe-commits, kbarton, xazax.hun, mgorny, nemanjai. Herald added a project: clang. Detects and fixes suspicious code like: `#include "foo.cpp"`. Inspired by:

[PATCH] D74672: Fix various occurences of redundant std::move [gcc 9 -Wredundant-move]

2020-02-15 Thread Nicolai Hähnle via Phabricator via cfe-commits
nhaehnle created this revision. Herald added subscribers: cfe-commits, hiraditya. Herald added projects: clang, LLVM. There are hundreds (thousands?) of instances of this warning left. A blog post on the new warning in gcc 9 is in

[PATCH] D71830: [OpenMP][Part 2] Use reusable OpenMP context/traits handling

2020-02-15 Thread Florian Hahn via Phabricator via cfe-commits
fhahn added a comment. It looks like this may cause ASan failures http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/38749/steps/check-clang%20asan/logs/stdio It would be great if you could take a look and possibly revert the change if it takes some time to investigate.

[PATCH] D72304: [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder.

2020-02-15 Thread Florian Hahn via Phabricator via cfe-commits
fhahn added a comment. It looks like this patch (or the other related changes committed recently) may cause ASan failures running `Transforms/OpenMP/gtid.ll ` and `Transforms/OpenMP/parallel_deletion.ll` http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/6960/consoleFull It would be

[PATCH] D74673: CGBuiltin: Remove uses of deprecated CreateCall overloads

2020-02-15 Thread Nicolai Hähnle via Phabricator via cfe-commits
nhaehnle created this revision. nhaehnle added a reviewer: t.p.northover. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D74673 Files: clang/lib/CodeGen/CGBuiltin.cpp Index:

[PATCH] D74669: [clang-tidy] New check: misc-no-include-cpp

2020-02-15 Thread Eugene Zelenko via Phabricator via cfe-commits
Eugene.Zelenko added a comment. Herald added a subscriber: wuzish. How about .cc and .cxx extension? It'll be reasonable to provide option to configure list of extensions. Please add documentation and mention new check in Release Notes. Comment at:

[clang] b86bf83 - [FIX] Remove pointer in attribute to eliminate leaks (see D71830)

2020-02-15 Thread Johannes Doerfert via cfe-commits
Author: Johannes Doerfert Date: 2020-02-15T18:09:54-06:00 New Revision: b86bf83c281cbc1c42de3dfca6ae2555094abeae URL: https://github.com/llvm/llvm-project/commit/b86bf83c281cbc1c42de3dfca6ae2555094abeae DIFF:

[clang] 62654ca - Restore functionality of --sysroot on FreeBSD after b18cb9c47

2020-02-15 Thread Dimitry Andric via cfe-commits
Author: Dimitry Andric Date: 2020-02-16T01:50:06+01:00 New Revision: 62654cab7e654384ba503d6b62b1054cde19a553 URL: https://github.com/llvm/llvm-project/commit/62654cab7e654384ba503d6b62b1054cde19a553 DIFF:

[PATCH] D72304: [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder.

2020-02-15 Thread Johannes Doerfert via Phabricator via cfe-commits
jdoerfert added a comment. In D72304#1877855 , @fhahn wrote: > It looks like this patch (or the other related changes committed recently) > may cause ASan failures running `Transforms/OpenMP/gtid.ll ` and > `Transforms/OpenMP/parallel_deletion.ll` >

[PATCH] D71314: Emit a warning if a variable is uninitialized in indirect ASM goto destination.

2020-02-15 Thread Bill Wendling via Phabricator via cfe-commits
void updated this revision to Diff 244844. void added a comment. Herald added a subscriber: martong. Use "auto" and change labels to clarify test. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71314/new/ https://reviews.llvm.org/D71314 Files:

[PATCH] D69868: Allow "callbr" to return non-void values

2020-02-15 Thread Bill Wendling via Phabricator via cfe-commits
void updated this revision to Diff 244840. void added a comment. Use the BB when creating the MBB. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69868/new/ https://reviews.llvm.org/D69868 Files: llvm/docs/LangRef.rst

[PATCH] D69876: Allow output constraints on "asm goto"

2020-02-15 Thread Bill Wendling via Phabricator via cfe-commits
void updated this revision to Diff 244841. void added a comment. Herald added a subscriber: martong. Typo Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69876/new/ https://reviews.llvm.org/D69876 Files: clang/docs/LanguageExtensions.rst