courbet added a comment.
ping
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D38455
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Hi Zivony,
From this patch:
> +void ParentVirtualCallCheck::check(const MatchFinder::MatchResult
&Result) {
> + const auto *MatchedDecl =
Result.Nodes.getNodeAs("call");
> + assert(MatchedDecl);
> +
The code above yields a warning when compiled without asserts since
MatchedDecl is not us
avt77 abandoned this revision.
avt77 added a comment.
It is not a bug.
https://reviews.llvm.org/D44559
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: chandlerc
Date: Mon Apr 9 00:26:42 2018
New Revision: 329550
URL: http://llvm.org/viewvc/llvm-project?rev=329550&view=rev
Log:
Fix unused variable warning.
Modified:
clang-tools-extra/trunk/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/b
Thanks, Chandler.
assert(Result.Nodes.getNodeAs("call"));
would also be fine.
пн, 9 апр. 2018 г. в 10:29, Chandler Carruth via cfe-commits <
cfe-commits@lists.llvm.org>:
> Author: chandlerc
> Date: Mon Apr 9 00:26:42 2018
> New Revision: 329550
>
> URL: http://llvm.org/viewvc/llvm-project?r
I have no opinion other than removing the warning. =D This seemed to be the
idiomatic pattern in the rest of LLVM and Clang. If someone wants to adjust
this locally, by all means.
On Mon, Apr 9, 2018 at 12:47 AM Zinovy Nis via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Thanks, Chandler.
>
JonasToth added a comment.
Hi,
my 2 cents:
- On which codebases did you run the check?
- did you consider looking for `implicitCastExpr`? You can capture all
narrowing conversion with that and analyze them further. I think it is possible
to warn for the subset mentioned in the guidelines.
- yo
shiva0217 updated this revision to Diff 141591.
shiva0217 added a comment.
Update patch to address Alex's comments.
Repository:
rL LLVM
https://reviews.llvm.org/D44888
Files:
include/clang/Driver/Options.td
lib/Driver/ToolChains/Arch/RISCV.cpp
test/Driver/riscv-features.c
Index: test
baloghadamsoftware marked an inline comment as done.
baloghadamsoftware added a comment.
George or Devin, please accept it or give me some feedback if not. Since this
patch affects the core infrastructure I think it is wise to merge it only if at
least two of you have accepted it. Artem is one,
ilya-biryukov added a subscriber: sammccall.
ilya-biryukov added a comment.
This LG to fix the standalone build.
However, why not install LLVMTestingSupport in llvm? It feels that we should
either include it or disable the tests for standalone builds. And disabling the
tests seems wrong.
WDYT?
@
ilya-biryukov added a subscriber: hokein.
ilya-biryukov added a comment.
In https://reviews.llvm.org/D45285#1058567, @malaperle wrote:
> Do we need to bump the version of the extension and do a new release or
> anything like that? Or leave this for later?
We should bump the version and republi
malcolm.parsons added a comment.
In https://reviews.llvm.org/D43764#1061042, @jdemeule wrote:
> I suspect some undefined order when applying replacements as directly
> dependent on which order OS reads `file1.yaml`, `file2.yaml`and `file3.yaml`.
$ ls -f
/mparsons/llvm/llvm-build/tools/clang/t
sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.
This seems fine to me too to fix the immediate issue.
Personally I'd rather drop our usage of llvmtestingsupport as it provides
marginal value anyway. But also happy to do this as a clea
courbet added a comment.
Hi Jonas,
In https://reviews.llvm.org/D38455#1061228, @JonasToth wrote:
> Hi,
>
> my 2 cents:
>
> - On which codebases did you run the check?
A large repository of open-source code, plus internal code at google. External
code includes e.g. code from ffmpeg, Eigen, R,
ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45356
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
hokein created this revision.
hokein added a reviewer: sammccall.
Herald added subscribers: MaskRay, ioeric, jkorous-apple, ilya-biryukov, klimek.
Calculating the include path from absolute file path does not always
work for all build system, e.g. bazel uses symlink as the build working
directory.
malcolm.parsons accepted this revision.
malcolm.parsons added a comment.
This revision is now accepted and ready to land.
LGTM!
https://reviews.llvm.org/D45405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mai
JonasToth added a comment.
That sounds good.
> Removing from my dashboard for now.
@aaron.ballman seems to be busy now, maybe you should add alexfh again and
discuss the results.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D38455
_
hokein added inline comments.
Comment at: docs/clang-tidy/checks/modernize-use-auto.rst:202
+ neither warn nor fix type names having a length less than the option value.
+ The option affects expressions only, not iterators.
+
nit: document the default value.
ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.
LGTM with a small nit.
Really excited about this landing!
Comment at: lib/Tooling/InterpolatingCompilationDatabase.cpp:353
+ }
+ Best = Candidate.firs
mgorny added a comment.
I've based this change on an earlier fix to lldb when that project started
using LLVMTestingSupport.
That change in turn was based on how we handle gtest across the projects. As
for gtest, I think installing was not considered as an option since different
projects may b
hokein added a comment.
In https://reviews.llvm.org/D45285#1061243, @ilya-biryukov wrote:
> In https://reviews.llvm.org/D45285#1058567, @malaperle wrote:
>
> > Do we need to bump the version of the extension and do a new release or
> > anything like that? Or leave this for later?
>
>
> We should
lebedev.ri added a comment.
Ping.
@aaron.ballman ping, do you have any further thoughts on that macro
false-negative?
#define vardecl(type, name) type name;
void variables_15() {
// FIXME: surely we should still warn here?
vardecl(int, a);
vardecl(int, b);
}
// CHECK-MESSAGE
courbet updated this revision to Diff 141610.
courbet edited the summary of this revision.
courbet added a comment.
- Add support for bad cast detection.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D38455
Files:
clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tidy/cppco
courbet added a comment.
In https://reviews.llvm.org/D38455#1061300, @JonasToth wrote:
> That sounds good.
>
> > Removing from my dashboard for now.
>
> maybe you should add alexfh again and discuss the results.
Is there anything I need to do for the diff to change state ? I thought
updating t
JonasToth added a comment.
> Is there anything I need to do for the diff to change state ? I
thought updating the code would automatically mark it "ready for review"
again.
I think all comments must be marked as done to be ready for review
again. Usually the reviewer reacts to changed code, too.
courbet added a comment.
In https://reviews.llvm.org/D38455#1061406, @JonasToth wrote:
>
> I think all comments must be marked as done to be ready for review
> again.
>
> I think alexfh did disable the notifications for now. Add/ping him again.
I see, thanks.
Repository:
rCTE Clang Too
JonasToth added inline comments.
Comment at: clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp:32
+ Finder->addMatcher(
+ implicitCastExpr(hasImplicitDestinationType(isInteger()),
+ hasSourceExpression(IsFloatExpr),
Do you pla
alexfh added inline comments.
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+: ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars",
0)),
+ MinTypeNameLength(Options.get("MinTypeNameLength", 0)) {}
Maybe make the default 5? Or
alexfh added a comment.
I wonder whether the readability-identifier-naming check could be extended to
support this use case instead of adding a new check specifically for
underscores in ivar names?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45392
___
alexfh added a comment.
In https://reviews.llvm.org/D43779#1061043, @lebedev.ri wrote:
> Hmm.
> Got back to this issue.
>
> Not reproducible with gcc-4.8.5 and gcc-4.9.3 in ubuntu 16.04 chroot.
> *Reproducible* with gcc-4.8.4 and gcc-4.9.2 in debian oldstable (Jessie)
> chroot.
> So one might
lebedev.ri added a comment.
In https://reviews.llvm.org/D43779#1061444, @alexfh wrote:
> In https://reviews.llvm.org/D43779#1061043, @lebedev.ri wrote:
>
> > Hmm.
> > Got back to this issue.
> >
> > Not reproducible with gcc-4.8.5 and gcc-4.9.3 in ubuntu 16.04 chroot.
> > *Reproducible* with gc
ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
lebedev.ri added inline comments.
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+: ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars",
0)),
+ MinTypeNameLength(Options.get("MinTypeNameLength", 0)) {}
alexfh wrote:
> Maybe mak
ilya-biryukov added inline comments.
Comment at: include/clang/Basic/VirtualFileSystem.h:313
+/// \brief Creates a \p vfs::OverlayFileSystem which overlays the given file
+/// system above the 'real' file system, as seen by the operating system.
+IntrusiveRefCntPtr
--
ilya-biryukov added inline comments.
Comment at: include/clang/Basic/VirtualFileSystem.h:315
+IntrusiveRefCntPtr
+createOverlayOnRealFilesystem(IntrusiveRefCntPtr TopFS);
+
NIT: I'm not an expert in English, but shouldn't it be
createOverlay**Over**Real.
Als
ilya-biryukov added subscribers: hokein, alexfh.
ilya-biryukov added inline comments.
Comment at: clang-tidy/ClangTidy.cpp:91
public:
- ErrorReporter(ClangTidyContext &Context, bool ApplyFixes,
-llvm::IntrusiveRefCntPtr BaseFS)
- : Files(FileSystemOptions()
zinovy.nis added inline comments.
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+: ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars",
0)),
+ MinTypeNameLength(Options.get("MinTypeNameLength", 0)) {}
lebedev.ri wrote:
> alexf
Author: hans
Date: Mon Apr 9 05:21:12 2018
New Revision: 329558
URL: http://llvm.org/viewvc/llvm-project?rev=329558&view=rev
Log:
Try to fix libclang reproducer tests after r329465
They were failing on Windows because the output YAML didn't parse:
YAML:1:664: error: Unrecognized escape code!
Hopefully r329558 should fix it.
On Sat, Apr 7, 2018 at 9:44 PM, via cfe-commits
wrote:
> Hi Alex,
>
> The two tests you added in this commit seem to be failing because of a crash
> on one of the Windows bots. Can you take a look?
>
> http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive
whisperity added inline comments.
Comment at: include/clang/Basic/VirtualFileSystem.h:315
+IntrusiveRefCntPtr
+createOverlayOnRealFilesystem(IntrusiveRefCntPtr TopFS);
+
ilya-biryukov wrote:
> NIT: I'm not an expert in English, but shouldn't it be
> createOverla
whisperity added inline comments.
Comment at: clang-tidy/ClangTidy.cpp:91
public:
- ErrorReporter(ClangTidyContext &Context, bool ApplyFixes,
-llvm::IntrusiveRefCntPtr BaseFS)
- : Files(FileSystemOptions(), BaseFS), DiagOpts(new DiagnosticOptions()),
+ Err
erichkeane added a comment.
In https://reviews.llvm.org/D45383#1060354, @efriedma wrote:
> How could this patch possibly affect vprintf?
vprintf is defined in the builtins.def file, and other than our messages
considering it a 'library function', it is otherwise identical.
Repository:
rC C
Hi Nico,
Thanks for your comment!
I do agree that this code is hacky. Do you mean to ask tablegen to
generate Checkers.inc under Driver so that we can do like this? :
#define CHECKER(FULLNAME, CLASS, DESCFILE, HT, G, H) FULLNAME ","
#include "clang/Driver/Checkers.inc"
#undef GET_CHECKERS
Yes.
On Mon, Apr 9, 2018 at 9:00 AM, Yuka Takahashi wrote:
> Hi Nico,
>
> Thanks for your comment!
>
> I do agree that this code is hacky. Do you mean to ask tablegen to
> generate Checkers.inc under Driver so that we can do like this? :
> #define CHECKER(FULLNAME, CLASS, DESCFILE, HT, G, H)
lebedev.ri added inline comments.
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+: ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars",
0)),
+ MinTypeNameLength(Options.get("MinTypeNameLength", 0)) {}
zinovy.nis wrote:
> lebed
Sounds good!
2018-04-09 15:03 GMT+02:00 Nico Weber :
> Yes.
>
> On Mon, Apr 9, 2018 at 9:00 AM, Yuka Takahashi wrote:
>
>> Hi Nico,
>>
>> Thanks for your comment!
>>
>> I do agree that this code is hacky. Do you mean to ask tablegen to
>> generate Checkers.inc under Driver so that we can do like
lebedev.ri added a comment.
@firolino do you plan on finishing this?
https://reviews.llvm.org/D27621
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
JonasToth added a comment.
Still work on this one?
https://reviews.llvm.org/D27621
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
lg
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D43969
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llv
Author: phst
Date: Mon Apr 9 06:31:44 2018
New Revision: 329566
URL: http://llvm.org/viewvc/llvm-project?rev=329566&view=rev
Log:
Improve completion experience for headers
Summary: When calling `completing-read', we should provide a default to prevent
the behavior described in
https://github.c
firolino marked an inline comment as done.
firolino added a comment.
In https://reviews.llvm.org/D27621#1061562, @lebedev.ri wrote:
> @firolino do you plan on finishing this?
Sometimes the universe is really funny! I have just re-started working on it
today.
https://reviews.llvm.org/D27621
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329566: Improve completion experience for headers (authored
by phst, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D43969
Files:
clang-tools-e
courbet marked 2 inline comments as done.
courbet added a comment.
Thanks.
Comment at: clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp:32
+ Finder->addMatcher(
+ implicitCastExpr(hasImplicitDestinationType(isInteger()),
+ hasSourceExpressi
courbet updated this revision to Diff 141635.
courbet marked 2 inline comments as done.
courbet added a comment.
- Add `*=` and `/=`.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D38455
Files:
clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tidy/cppcoreguidelines/CppCore
spatel added a comment.
> The only question I have is whether its ok to emit the v2i32 intermediate
> type for the 128-bit version. I wasn't sure of any examples where we use an
> illegal type in our intrinsic/builtin handling. At least not a narrower type.
> I know pavg uses a wider type.
I d
sammccall added inline comments.
Comment at: clangd/URI.h:63
+ /// Tries to get the include path of the file corresponding to the URI.
+ /// This allows clients to provide their customized include paths.
Avoid "tries to" which is vague about what cases are fa
JonasToth added inline comments.
Comment at: clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp:34
+ hasSourceExpression(IsFloatExpr),
+ unless(hasParent(castExpr(.bind("cast"),
+ this);
courbet wrote:
Author: sammccall
Date: Mon Apr 9 07:12:51 2018
New Revision: 329570
URL: http://llvm.org/viewvc/llvm-project?rev=329570&view=rev
Log:
[Index] Return SourceLocation to consumers, not FileID/Offset pair.
Summary:
The FileID/Offset conversion is lossy. The code takes the fileLoc, which loses
e.g.
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rC329570: [Index] Return SourceLocation to consumers, not
FileID/Offset pair. (authored by sammccall, committed by ).
Chang
sammccall added a comment.
Oops, I got my reviews crossed and thought @ilya-biryukov had already approved
it (we chatted about this today)
Repository:
rC Clang
https://reviews.llvm.org/D45014
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
ilya-biryukov added a comment.
LGTM, but let's watch out for @akyrtzi's and @arphaman's comments, just in case
they're not happy with the change. In that case we'll have to revert it.
Repository:
rC Clang
https://reviews.llvm.org/D45014
___
cfe-
malaperle added a comment.
In https://reviews.llvm.org/D45285#1061374, @hokein wrote:
> In https://reviews.llvm.org/D45285#1061243, @ilya-biryukov wrote:
>
> > In https://reviews.llvm.org/D45285#1058567, @malaperle wrote:
> >
> > > Do we need to bump the version of the extension and do a new rele
Author: sammccall
Date: Mon Apr 9 07:28:52 2018
New Revision: 329571
URL: http://llvm.org/viewvc/llvm-project?rev=329571&view=rev
Log:
[clangd] Adapt index interfaces to D45014, and fix the old bugs.
Summary:
Fix bugs:
- don't count occurrences of decls where we don't spell the name
- findDefini
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329571: [clangd] Adapt index interfaces to D45014, and fix
the old bugs. (authored by sammccall, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D4
This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE329571: [clangd] Adapt index interfaces to D45014, and fix
the old bugs. (authored by sammccall, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45356?vs=141300&id=141643#toc
Repos
Author: malaperle
Date: Mon Apr 9 07:32:12 2018
New Revision: 329574
URL: http://llvm.org/viewvc/llvm-project?rev=329574&view=rev
Log:
[clangd-vscode] Update VScode dependencies
Summary:
This allows the extension to work with LSP 3.0 and is useful for testing.
Signed-off-by: Marc-Andre Laperle
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE329574: [clangd-vscode] Update VScode dependencies
(authored by malaperle, committed by ).
Changed prior to commit:
h
hans added a comment.
Some bots are sad:
http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/16346/
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/17364/
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/28078/
Repository:
rC Clan
The matching clangd patch is r329571, I got distracted and it took me a few
minutes to land it. Apologies!
On Mon, Apr 9, 2018 at 4:35 PM Hans Wennborg via Phabricator <
revi...@reviews.llvm.org> wrote:
> hans added a comment.
>
> Some bots are sad:
> http://lab.llvm.org:8011/builders/clang-atom-
JonasToth added a comment.
Could you please add some tests that include user defined literals and there
interaction with other literals. We should catch narrowing conversions from
them, too.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D38455
__
alexfh added a comment.
In https://reviews.llvm.org/D38455#1061195, @courbet wrote:
> ping
Sorry for the long review due to the holidays.
Generally, I would also like Aaron to take a look when he's back, since he had
some concerns. While we're waiting, one minor comment from me.
==
yaxunl created this revision.
yaxunl added a reviewer: tra.
also disable `__CUDA_ARCH__` for HIP.
This patch depends on https://reviews.llvm.org/D44984
https://reviews.llvm.org/D45441
Files:
lib/Frontend/InitPreprocessor.cpp
test/Preprocessor/predefined-macros.c
Index: test/Preprocessor/
hokein updated this revision to Diff 141650.
hokein marked 3 inline comments as done.
hokein added a comment.
Address review comments.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45426
Files:
clangd/ClangdServer.cpp
clangd/URI.cpp
clangd/URI.h
unittests/clangd/Clangd
courbet added inline comments.
Comment at: clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp:41
+ binaryOperator(
+ anyOf(hasOperatorName("+="), hasOperatorName("-=")),
+ hasLHS(hasType(isInteger())),
alexfh wrote:
> JonasToth wrot
hokein marked an inline comment as done.
hokein added inline comments.
Comment at: clangd/URI.h:66
+ ///
+ /// If the returned string is non-empty, clangd will use it directly when
+ /// doing include insertion; otherwise we will fall back to the clang to
samm
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
Comment at: clangd/URI.h:69
+ /// calculate the include path from the resolved absolute path.
+ static llvm::Expected includePath(const URI &U);
+
---
hokein updated this revision to Diff 141654.
hokein marked an inline comment as done.
hokein added a comment.
includeSpelling
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45426
Files:
clangd/ClangdServer.cpp
clangd/URI.cpp
clangd/URI.h
unittests/clangd/ClangdTests.cpp
Author: hokein
Date: Mon Apr 9 08:09:44 2018
New Revision: 329578
URL: http://llvm.org/viewvc/llvm-project?rev=329578&view=rev
Log:
[clangd] Allow using customized include path in URI.
Summary:
Calculating the include path from absolute file path does not always
work for all build system, e.g. b
This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE329578: [clangd] Allow using customized include path in
URI. (authored by hokein, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45426?vs=141654&id=141655#toc
Repository:
rCTE C
Author: alexfh
Date: Mon Apr 9 08:12:10 2018
New Revision: 329579
URL: http://llvm.org/viewvc/llvm-project?rev=329579&view=rev
Log:
[clang-tidy] Return non-zero exit code for clang errors.
Summary:
Updated tests broken by this change.
Fixes https://bugs.llvm.org/show_bug.cgi?id=27628
Reviewers:
alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+: ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars",
0)),
+ MinTypeNameLengt
This revision was automatically updated to reflect the committed changes.
Closed by commit rCTE329579: [clang-tidy] Return non-zero exit code for clang
errors. (authored by alexfh, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45258?vs=140956&id=141656#toc
Repository:
rL
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329579: [clang-tidy] Return non-zero exit code for clang
errors. (authored by alexfh, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D45258
Files
Author: sammccall
Date: Mon Apr 9 08:17:39 2018
New Revision: 329580
URL: http://llvm.org/viewvc/llvm-project?rev=329580&view=rev
Log:
[Tooling] A CompilationDatabase wrapper that infers header commands.
Summary:
The wrapper finds the closest matching compile command using filename heuristics
an
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329580: [Tooling] A CompilationDatabase wrapper that infers
header commands. (authored by sammccall, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llv
This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.
Closed by commit rC329580: [Tooling] A CompilationDatabase wrapper that infers
header commands. (authored by sammccall, committed by ).
Changed prior to commit:
https://reviews.
Author: sammccall
Date: Mon Apr 9 08:22:08 2018
New Revision: 329582
URL: http://llvm.org/viewvc/llvm-project?rev=329582&view=rev
Log:
[clang] Use compile-command interpolation to provide commands for header files.
Summary: This uses the inferring wrapper introduced in D45006.
Subscribers: klim
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329582: [clang] Use compile-command interpolation to provide
commands for header files. (authored by sammccall, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://revi
sammccall created this revision.
sammccall added a reviewer: ilya-biryukov.
Herald added subscribers: cfe-commits, ioeric, jkorous-apple, klimek.
This makes C++/objC not totally broken, without hurting C files too much.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D45442
Files
zinovy.nis added inline comments.
Comment at: clang-tidy/modernize/UseAutoCheck.cpp:290
+: ClangTidyCheck(Name, Context), RemoveStars(Options.get("RemoveStars",
0)),
+ MinTypeNameLength(Options.get("MinTypeNameLength", 0)) {}
alexfh wrote:
> alexfh wr
Author: hokein
Date: Mon Apr 9 08:37:09 2018
New Revision: 329583
URL: http://llvm.org/viewvc/llvm-project?rev=329583&view=rev
Log:
[clangd] Bump v0.0.6 for vscode-clangd.
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
Modified: clang-tools-extra/trunk/clangd/cl
devnexen added a comment.
ping
Repository:
rC Clang
https://reviews.llvm.org/D45177
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
devnexen added a comment.
ping
https://reviews.llvm.org/D45149
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: yaxunl
Date: Mon Apr 9 08:43:01 2018
New Revision: 329584
URL: http://llvm.org/viewvc/llvm-project?rev=329584&view=rev
Log:
[CUDA] Revert defining __CUDA_ARCH__ for amdgcn targets
amdgcn targets only support HIP, which does not define __CUDA_ARCH__.
this is a partial unroll of r329232 /
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329584: [CUDA] Revert defining __CUDA_ARCH__ for amdgcn
targets (authored by yaxunl, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D45387?vs=
efriedma added a comment.
Identical to what? `__builtin_va_start` and `__builtin_va_end` specifically
are weird because they're builtins which have a signature which can't be
expressed in C. vprintf doesn't have that problem.
Builtins.def makes the relevant distinction already: a "BUILTIN" is
erichkeane added a comment.
In https://reviews.llvm.org/D45383#1061780, @efriedma wrote:
> Identical to what? `__builtin_va_start` and `__builtin_va_end` specifically
> are weird because they're builtins which have a signature which can't be
> expressed in C. vprintf doesn't have that problem
efriedma added a comment.
> vprintf is handled using the exact same code-paths. SO, it'll have its 2nd
> parameter created with type 'char*&'
vprintf is defined in the C standard as "int vprintf(const char *format,
va_list arg);"; on Windows, that's equivalent to "int vprintf(const char
*forma
JonasToth created this revision.
JonasToth added reviewers: alexfh, aaron.ballman, lebedev.ri, hokein.
Herald added subscribers: cfe-commits, kbarton, xazax.hun, mgorny, nemanjai,
klimek.
This check aims to determine values and references that could be declared
as const, but are not.
The first v
1 - 100 of 220 matches
Mail list logo