On Tue, Jan 30, 2018 at 2:38 AM, Jan Vesely wrote:
> On Mon, 2018-01-29 at 22:15 +0300, Roman Lebedev via cfe-commits wrote:
>> On Mon, Jan 29, 2018 at 10:05 PM, Jan Vesely via cfe-commits
>> wrote:
>> > Author: jvesely
>> > Date: Mon Jan 29 11:05:08 2018
>> > New Revision: 323677
>> >
>> > URL:
ioeric added inline comments.
Comment at: lib/Tooling/Tooling.cpp:404
if (CompileCommandsForFile.empty()) {
// FIXME: There are two use cases here: doing a fuzzy
// "find . -name '*.cc' |xargs tool" match, where as a user I don't care
bkramer w
ioeric accepted this revision.
ioeric added a comment.
Woohoo!
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42669
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: sammccall
Date: Tue Jan 30 01:21:30 2018
New Revision: 323734
URL: http://llvm.org/viewvc/llvm-project?rev=323734&view=rev
Log:
[clangd] Enable completion index by default, limit results to 100.
Summary:
This should speed up global code completion by avoiding deserializing
preamble declar
This revision was automatically updated to reflect the committed changes.
Closed by commit rL323734: [clangd] Enable completion index by default, limit
results to 100. (authored by sammccall, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/
sammccall added a comment.
Can you please remove the `threading/` subdirectory?
It seems premature for these two files, and `TUScheduler` doesn't fit. It's
unclear that there will be more.
I'd suggest renaming `Threadpool.h` -> `Threading.h`, CancellationFlag might
fit in there, though up to yo
vitalybuka created this revision.
vitalybuka added reviewers: pcc, tejohnson.
Herald added subscribers: eraman, inglorion, mehdi_amini.
Sometimes -flto=thin can produce regular LTO object files. Then backend may
receive them with -fthinlto-index= flag. Previous behavior was to report
error in this
Merged to 6.0 in r323741.
On Thu, Jan 11, 2018 at 2:37 AM, Craig Topper via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: ctopper
> Date: Wed Jan 10 17:37:59 2018
> New Revision: 322245
>
> URL: http://llvm.org/viewvc/llvm-project?rev=322245&view=rev
> Log:
> [X86] Make -mavx512f imp
Merged in r323745.
On Mon, Jan 29, 2018 at 10:46 PM, Amara Emerson
wrote:
> Hi Hans,
>
> Can we have this for the 6.0 branch? I'm also going to send a patch to add
> the release notes clang and LLVM about this flag and GISel being enabled at
> -O0.
>
> Cheers,
> Amara
>
> On 25 January 2018 at 1
hgabii created this revision.
hgabii added a reviewer: clang-tools-extra.
hgabii added a project: clang-tools-extra.
Herald added subscribers: cfe-commits, hintonda, mgorny, srhines.
Add misc-io-functions-misused checker to warns for cases when the return value
of certain standard iostream C func
ilya-biryukov updated this revision to Diff 131941.
ilya-biryukov added a comment.
- Remove threading/ dir, moved everything to the top-level
- Rename ThreadPool.h to Threading.h
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42174
Files:
clangd/CMakeLists.txt
clangd/Clangd
Author: sammccall
Date: Tue Jan 30 03:23:11 2018
New Revision: 323751
URL: http://llvm.org/viewvc/llvm-project?rev=323751&view=rev
Log:
[clangd] Fix windows path manipulation
Modified:
clang-tools-extra/trunk/clangd/Protocol.cpp
Modified: clang-tools-extra/trunk/clangd/Protocol.cpp
URL:
htt
krasimir added inline comments.
Comment at: unittests/Format/FormatTestObjC.cpp:678
+ " a = 42;\n"
+ "}\n"
+ "secondBlock:^{\n"
Can you put a test with a non-block between two blocks please
Repository:
rC
ilya-biryukov added inline comments.
Comment at: clangd/threading/TUScheduler.h:1
+//===--- TUScheduler.h ---*-C++-*-===//
+//
sammccall wrote:
> this class needs tests
Will do :-(
Comment at: clangd/thre
malcolm.parsons added a comment.
Why only the wide versions?
Even narrow versions return an int so that you can check for EOF.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42682
___
cfe-commits mailing list
cfe-commits@lists.llvm.
sammccall added a comment.
As discussed offline, basically the only thing to do for testing ThreadPool is
to bash it with a workload, and some sort of whole-program stress test seems
ideal for this and will also give some coverage to other components (and we
should run under tsan!).
TUSchedule
jolesiak updated this revision to Diff 131943.
jolesiak added a comment.
- Add test
Repository:
rC Clang
https://reviews.llvm.org/D42493
Files:
lib/Format/ContinuationIndenter.cpp
lib/Format/FormatToken.h
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestObjC.cpp
Index: unitt
Typz created this revision.
Typz added reviewers: krasimir, djasper, klimek.
Introduce ``PenaltyBreakTemplateDeclaration`` to control the penalty,
and change ``AlwaysBreakTemplateDeclarations`` to an enum with 3 modes:
- ``None`` for automatic (e.g. penalty based) wrapping of template
declaratio
Typz updated this revision to Diff 131946.
Typz added a comment.
fix commit message
Repository:
rC Clang
https://reviews.llvm.org/D42684
Files:
include/clang/Format/Format.h
lib/Format/ContinuationIndenter.cpp
lib/Format/Format.cpp
lib/Format/TokenAnnotator.cpp
unittests/Format/For
Author: wizard
Date: Mon Jan 29 17:44:00 2018
New Revision: 323722
URL: http://llvm.org/viewvc/llvm-project?rev=323722&view=rev
Log:
add prefix with '_' support for property name. Corresponding apple dev doc:
https://developer.apple.com/library/content/qa/qa1908/_index.html
Reviewers: benhamilto
krasimir created this revision.
krasimir added a reviewer: djasper.
Herald added subscribers: cfe-commits, klimek.
This patch modifies the text proto Google style to add spaces around braces.
I investigated using something different than Cpp11BracedListStyle, but it
turns out it's what we want a
marlowa added a comment.
In https://reviews.llvm.org/D26418#653146, @nkakuev wrote:
> Ping.
another ping. I am desperate for this enhancement and am really glad that
nkakuev has done all the hard development work. I am currently being nobbled in
my use of clang-tidy because the project is usi
djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.
Looks good.
Repository:
rC Clang
https://reviews.llvm.org/D42685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.o
mclow.lists accepted this revision.
mclow.lists added a comment.
Please be sure to update www/cxx2a_status.html to mark 2993 as "Complete".
Other than that, looks good to me! Thanks!
https://reviews.llvm.org/D40259
___
cfe-commits mailing list
cfe-c
Hahnfeld added a comment.
In https://reviews.llvm.org/D42642#991154, @tra wrote:
> In https://reviews.llvm.org/D42642#991127, @Hahnfeld wrote:
>
> > In https://reviews.llvm.org/D42642#990976, @tra wrote:
> >
> > > Some linux distributions integrate CUDA into the standard directory
> > > structur
Hahnfeld updated this revision to Diff 131963.
Hahnfeld added a comment.
Check for `libdevice` in candidates from `PATH`.
https://reviews.llvm.org/D42642
Files:
include/clang/Driver/Options.td
lib/Driver/ToolChains/Cuda.cpp
test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/bin/ptxas
te
ABataev added a comment.
In https://reviews.llvm.org/D42581#989760, @probinson wrote:
> If you want to force DWARF 2, probably clamping the version in LLVM would be
> simpler? Although most of the debug-info tests are architecture-specific and
> wouldn't run for an NVPTX target anyway.
Hi, I
Author: alexfh
Date: Tue Jan 30 06:55:39 2018
New Revision: 323765
URL: http://llvm.org/viewvc/llvm-project?rev=323765&view=rev
Log:
[clang-tidy] Use a more specific regex
Modified:
clang-tools-extra/trunk/clang-tidy/rename_check.py
Modified: clang-tools-extra/trunk/clang-tidy/rename_check.p
Author: alexfh
Date: Tue Jan 30 06:55:50 2018
New Revision: 323766
URL: http://llvm.org/viewvc/llvm-project?rev=323766&view=rev
Log:
clang-tidy/rename_check.py misc-string-compare readability-string-compare
Added:
clang-tools-extra/trunk/clang-tidy/readability/StringCompareCheck.cpp
- c
Author: alexfh
Date: Tue Jan 30 07:12:24 2018
New Revision: 323768
URL: http://llvm.org/viewvc/llvm-project?rev=323768&view=rev
Log:
clang-tidy/rename_check.py misc-incorrect-roundings bugprone-incorrect-roundings
More specifically,
clang-tidy/rename_check.py misc-incorrect-roundings \
bugprone
Merged to 6.0 in r323769.
On Wed, Jan 24, 2018 at 7:42 PM, Krzysztof Parzyszek via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: kparzysz
> Date: Wed Jan 24 10:42:19 2018
> New Revision: 323360
>
> URL: http://llvm.org/viewvc/llvm-project?rev=323360&view=rev
> Log:
> [Hexagon] Accept
sfertile added a comment.
Sorry, I missed that you wanted this reviewed again, I'll make sure to review
it today.
https://reviews.llvm.org/D41318
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo
tejohnson accepted this revision.
tejohnson added a comment.
This revision is now accepted and ready to land.
LGTM (minor comment fix in test needed)
Comment at: clang/test/CodeGen/thinlto_backend.ll:23
+; Ensure we don't fail with index and non-ThinLTO object file, and run
pcc requested changes to this revision.
pcc added a comment.
This revision now requires changes to proceed.
This doesn't seem right to me. In a mixed full/thin LTO link the full LTO
module would be compiled during the indexing phase. We don't want to compile it
again in the backend as it could l
tejohnson added a comment.
In https://reviews.llvm.org/D42680#991938, @pcc wrote:
> This doesn't seem right to me. In a mixed full/thin LTO link the full LTO
> module would be compiled during the indexing phase. We don't want to compile
> it again in the backend as it could lead at best to dupl
Author: sammccall
Date: Tue Jan 30 09:20:54 2018
New Revision: 323792
URL: http://llvm.org/viewvc/llvm-project?rev=323792&view=rev
Log:
[clangd] Trace code completion.
Context passing is a little messy, but will go away with TLS soon.
Modified:
clang-tools-extra/trunk/clangd/CodeComplete.cpp
ABataev added inline comments.
Comment at: lib/Driver/ToolChains/Cuda.cpp:353
CmdArgs.push_back(Args.MakeArgString(Output.getFilename()));
+ if (mustEmitDebugInfo(Args) && Args.hasArg(options::OPT_g_Flag))
+CmdArgs.push_back("-g");
tra wrote:
> ABataev wr
sdesmalen added inline comments.
Comment at: lib/CodeGen/CGDebugInfo.h:474
+ CGBuilderTy &Builder,
+ llvm::Metadata **MetadataDecl = nullptr);
aprantl wrote:
> same here. Why not just use a return value?
Initially I thought i
miyuki created this revision.
miyuki added reviewers: EricWF, mclow.lists.
Currently when parsing basic POSIX regular expressions libc++
silently skips invalid escaped characters and trailing escapes.
This patch changes the behavior, so that a std::regex_error with
code set to error_escape is thro
sdesmalen updated this revision to Diff 131990.
sdesmalen marked 4 inline comments as done.
sdesmalen added a comment.
Herald added a subscriber: jholewinski.
- Changed return type of getVLASize() to a struct with named members.
- EmitDeclare and EmitDeclareOfAutoVariable now return a DILocalVaria
aprantl added inline comments.
Comment at: lib/CodeGen/CGDecl.cpp:990
+ D.getLocation(), D.getLocation(), &NameIdent, QT,
+ getContext().CreateTypeSourceInfo(QT), SC_Auto);
+
sdesmalen wrote:
> aprantl wrote:
> > I think it does, but can you ass
asb added a comment.
My main concern with this patch is that the description doesn't really match
what it does. The current in-tree code _doesn't_ call gcc to link for the
tested configuration (a multilib toolchain), and this is verified with the
tests in test/Driver/riscv32-toolchain.c. https:
tra added inline comments.
Comment at: lib/Driver/ToolChains/Cuda.cpp:206
// -nocudalib hasn't been specified.
-if (LibDeviceMap.empty() && !Args.hasArg(options::OPT_nocudalib))
+if (CheckLibDevice && LibDeviceMap.empty())
continue;
I think th
Hahnfeld added inline comments.
Comment at: lib/Driver/ToolChains/Cuda.cpp:206
// -nocudalib hasn't been specified.
-if (LibDeviceMap.empty() && !Args.hasArg(options::OPT_nocudalib))
+if (CheckLibDevice && LibDeviceMap.empty())
continue;
tra w
Eugene.Zelenko added a comment.
May be //bugprone// is better module then //misc//?
Comment at: docs/ReleaseNotes.rst:63
+
+ Check if the fgetwc, getwc, getwchar, istream::get standard iostream C
functions
+ return values incorrectly stored in char type value.
-
tra added a comment.
I've thought a bit more about this and there's another quirk -- symlinks.
What if we've found /usr/bin/ptxas and is a symlink pointing to the real ptxas
in the CUDA installation? If we add /usr to the list of candidates it will not
help us at all. We should probably find th
mclow.lists added a comment.
I like this. One nit and a question.
Comment at: include/regex:3490
{
switch (*__temp)
{
Do we need any more cases here?
Comment at: test/std/re/re.regex/re.regex.co
Hahnfeld added a comment.
In https://reviews.llvm.org/D42642#992137, @tra wrote:
> I've thought a bit more about this and there's another quirk -- symlinks.
>
> What if we've found /usr/bin/ptxas and is a symlink pointing to the real
> ptxas in the CUDA installation? If we add /usr to the list o
NoQ updated this revision to Diff 132010.
NoQ added a comment.
Address comments :)
https://reviews.llvm.org/D42560
Files:
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/S
a.sidorin added a comment.
More debug info is always good.
Comment at: lib/StaticAnalyzer/Core/ExprEngine.cpp:400
+Out << '(' << I.second << ',' << I.first << ") ";
+I.first->printPretty(Out, nullptr, PrintingPolicy(LO));
+Out << NL;
ABataev updated this revision to Diff 132016.
ABataev added a comment.
1. Updated after review.
2. Changed the default behavior of --[no]cuda-noopt-device-debug. If the
optimization level is not specified or is O0 and debug info must be emitted,
the device debug info is emitted. If optimization
george.karpenkov added a comment.
looks good otherwise.
Comment at: lib/StaticAnalyzer/Core/ExprEngine.cpp:418
+ for (auto I : NewAllocValsMap) {
+ std::pair Key = I.first;
+ SVal Value = I.second;
indent?
actually, an even better ver
tra added inline comments.
Comment at: lib/Driver/ToolChains/Cuda.cpp:436-437
assert(Output.isNothing() && "Invalid output.");
- if (Args.hasArg(options::OPT_g_Flag))
+ if (mustEmitDebugInfo(Args) == FullDebug)
CmdArgs.push_back("-g");
Do we need to
george.karpenkov accepted this revision.
george.karpenkov added a comment.
This revision is now accepted and ready to land.
But that's all bikeshedding though
https://reviews.llvm.org/D42560
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
devnexen updated this revision to Diff 132024.
Repository:
rC Clang
https://reviews.llvm.org/D42645
Files:
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
Index: lib/StaticAnalyzer/Checkers
a.sidorin added inline comments.
Herald added subscribers: llvm-commits, rnkovacs.
Comment at: cfe/trunk/unittests/AST/ASTImporterTest.cpp:100
+ // This traverses the AST to catch certain bugs like poorly or not
+ // implemented subtrees.
I just saw this chan
Author: ahatanak
Date: Tue Jan 30 12:19:34 2018
New Revision: 323814
URL: http://llvm.org/viewvc/llvm-project?rev=323814&view=rev
Log:
Revert "CodeGen: annotate ObjC ARC functions with ABI constraints"
This reverts commit r294872.
Although this patch is correct, it caused the
objc_autoreleaseRV
Hahnfeld updated this revision to Diff 132029.
Hahnfeld added a comment.
Follow symlinked `ptxas` executables.
https://reviews.llvm.org/D42642
Files:
include/clang/Driver/Options.td
lib/Driver/ToolChains/Cuda.cpp
test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/bin/ptxas
test/Driver/I
Hi Saleem,
I had to revert this patch since this patch caused crashes in code that was
working fine before.
As I mentioned in the commit message, I believe this patch is correct, but it
causes the objc_retainAutoreleasedReturnValue/objc_autoreleaseReturnValue
handshake to fail in some cases be
benhamilton created this revision.
benhamilton added reviewers: jolesiak, stephanemoore, djasper.
Herald added subscribers: cfe-commits, klimek.
Concatenating Objective-C string literals inside an array literal
raises the warning -Wobjc-string-concatenation (which is enabled by default).
clang-fo
tra added inline comments.
Comment at: lib/Driver/ToolChains/Cuda.cpp:96-105
+ if (llvm::ErrorOr ptxas =
+ llvm::sys::findProgramByName("ptxas")) {
+SmallString<256> ptxasAbsolutePath;
+llvm::sys::fs::real_path(*ptxas, ptxasAbsolutePath);
+
+
NoQ added a comment.
> `// It's somehow an optional checker since for example in JIT libraries it is
> pretty common.`
Dunno, it seems that most of our security checks are something like that, and
i'm not sure how to deal with it. This one sounds like it would probably go to
some sort of `opti
Quuxplusone added inline comments.
Comment at: include/regex:3465
+case '{':
+case '}':
+break;
FWIW, I don't understand what's going on in this switch.
Is it intentional that `'('` and `'|'` now take different paths here?
NoQ edited reviewers, added: NoQ; removed: dergachev.a.
NoQ added a comment.
Actually, most of our `security` package is off by default (in the driver) for
that very reason, so please never mind and just keep it in `security` :)
You can also put the checker straight into `security` bypassing `al
arphaman added a comment.
Oops, that logic turned out to be incorrect. We simply have to start a new
storage unit when the new bitfield's size is wider than the available bits.
Repository:
rL LLVM
https://reviews.llvm.org/D42660
___
cfe-commits
arphaman updated this revision to Diff 132034.
arphaman added a comment.
Herald added a subscriber: llvm-commits.
Fix packing logic.
Repository:
rL LLVM
https://reviews.llvm.org/D42660
Files:
lib/AST/RecordLayoutBuilder.cpp
test/CodeGen/mms-bitfields.c
test/Sema/mms-bitfields.c
Index
Hahnfeld marked 5 inline comments as done.
Hahnfeld added a subscriber: sylvestre.ledru.
Hahnfeld added inline comments.
Comment at: lib/Driver/ToolChains/Cuda.cpp:96-105
+ if (llvm::ErrorOr ptxas =
+ llvm::sys::findProgramByName("ptxas")) {
+SmallString
stephanemoore requested changes to this revision.
stephanemoore added inline comments.
This revision now requires changes to proceed.
Comment at: lib/Format/ContinuationIndenter.cpp:1232
+
+bool BinPackParameters =
+(State.Line->Type != LT_ObjCDecl && Style.BinPackPar
tra accepted this revision.
tra added a comment.
LGTM.
Comment at: lib/Driver/ToolChains/Cuda.cpp:96-105
+ if (llvm::ErrorOr ptxas =
+ llvm::sys::findProgramByName("ptxas")) {
+SmallString<256> ptxasAbsolutePath;
+llvm::sys::fs::real_path(*ptxa
NoQ updated this revision to Diff 132042.
NoQ marked 2 inline comments as done.
NoQ added a comment.
> More debug info is always good.
I know, right?^^
> But that's all bikeshedding though
Well, it's great for me because i'd finally learn how to write programs :)
https://reviews.llvm.org/D425
NoQ added inline comments.
Comment at: lib/StaticAnalyzer/Core/ExprEngine.cpp:400
+Out << '(' << I.second << ',' << I.first << ") ";
+I.first->printPretty(Out, nullptr, PrintingPolicy(LO));
+Out << NL;
a.sidorin wrote:
> Why no
Author: marshall
Date: Tue Jan 30 13:49:17 2018
New Revision: 323822
URL: http://llvm.org/viewvc/llvm-project?rev=323822&view=rev
Log:
Add LWG3051
Modified:
libcxx/trunk/www/upcoming_meeting.html
Modified: libcxx/trunk/www/upcoming_meeting.html
URL:
http://llvm.org/viewvc/llvm-project/libcx
mstorsjo updated this revision to Diff 132045.
mstorsjo added a comment.
Adjusted the fix by moving the change into ShouldUseExternalRTTIDescriptor -
this causes less changes to other tests. @majnemer - do you think this is
better or worse than having the fix in isVTableExternal?
https://revie
benhamilton updated this revision to Diff 132046.
benhamilton added a comment.
Move Google style changes out. Use clearer name for local variable.
Repository:
rC Clang
https://reviews.llvm.org/D42650
Files:
include/clang/Format/Format.h
lib/Format/ContinuationIndenter.cpp
lib/Format/Fo
benhamilton marked 3 inline comments as done.
benhamilton added a comment.
Thanks for the review!
Comment at: lib/Format/Format.cpp:765
GoogleStyle.ColumnLimit = 100;
+GoogleStyle.BinPackObjCProtocolList = FormatStyle::BPS_Never;
}
stephanemoore wro
benhamilton created this revision.
benhamilton added reviewers: krasimir, jolesiak, stephanemoore.
This is split off from https://reviews.llvm.org/D42650, and sets
BinPackObjCProtocolList
to Never for the google style.
Depends On https://reviews.llvm.org/D42650
Test Plan: New tests added. make
NoQ added a comment.
Thank you, this explanation looks very reasonable.
All right, so right after the termination of the loop we have
[B1]
1: ForStmt (LoopExit)
2: [B4.5].~A() (Implicit destructor)
3: [B5.3].~A() (Implicit destructor)
4: CFGScopeEnd(a)
5: CFGScopeEnd(b)
... where `[
NoQ added a comment.
@szepet: so i see that `LoopExit` goes in the beginning of the cleanup block
after the loop, while various `ScopeEnd`s go after the `LoopExit`. Would loop
unrolling be significantly broken if you simply subscribe to `ScopeEnd` instead
of `LoopExit` and avoid cleaning up the
NoQ updated this revision to Diff 132053.
NoQ added a comment.
Remove the stack of contexts for now. We're not using it anywhere yet, and i'm
not sure if it'd be necessary.
https://reviews.llvm.org/D42672
Files:
include/clang/Analysis/AnalysisDeclContext.h
include/clang/Analysis/CFG.h
in
devnexen updated this revision to Diff 132054.
Repository:
rC Clang
https://reviews.llvm.org/D42645
Files:
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
Index: lib/StaticAnalyzer/Checkers
Author: george.karpenkov
Date: Tue Jan 30 14:58:06 2018
New Revision: 323827
URL: http://llvm.org/viewvc/llvm-project?rev=323827&view=rev
Log:
[analyzer] Extend SuppressInlineDefensiveChecksVisitor to all macros, including
non-function-like ones
No reason to treat function-like macros differentl
This revision was automatically updated to reflect the committed changes.
Closed by commit rC323827: [analyzer] Extend
SuppressInlineDefensiveChecksVisitor to all macros, including… (authored by
george.karpenkov, committed by ).
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
htt
vsapsai added inline comments.
Comment at: FixIt/fixit-typedef-instead-of-typename-typo.cpp:14
+// CHECK: expected-error@-6 {{unknown type name 'a'}}
+// CHECK: expected-error@-6 {{expected member name or ';' after declaration
specifiers}}
You don't need `// CHE
NoQ created this revision.
NoQ added reviewers: rsmith, dcoughlin, xazax.hun, a.sidorin, george.karpenkov,
szepet.
Herald added subscribers: cfe-commits, rnkovacs.
As an improvement over https://reviews.llvm.org/D42699 and
https://reviews.llvm.org/D42700, this unwraps `ExprWithCleanups` surround
juliehockett updated this revision to Diff 132075.
juliehockett edited the summary of this revision.
juliehockett added a reviewer: jakehehrlich.
juliehockett added a comment.
1. Updating and expanding tests
2. Updating output options (can now write to files)
3. Cleaning up pointers and whatnot
NoQ created this revision.
NoQ added reviewers: dcoughlin, xazax.hun, a.sidorin, george.karpenkov, szepet.
Herald added subscribers: cfe-commits, rnkovacs.
NoQ added a dependency: D42719: [CFG] [analyzer] Add construction context when
constructor is wrapped into ExprWithCleanups..
Previously, we
NoQ added a comment.
> With this change, we're fully ready to make use of construction contexts in
> the analyzer (in the next patch).
The next patch is https://reviews.llvm.org/D42721.
Repository:
rC Clang
https://reviews.llvm.org/D42719
___
c
Thanks for the note here. I’ll try to take a look at that, but, yes, the
frontend change itself is correct. I’ve seen many, many places where the
ObjCARC passes break down in the backend, and I’ve filed a few bugs on it
in the hope that someone from Apple would take a look at some point. I’m
hap
> On Jan 30, 2018, at 7:50 AM, Andrew Peter Marlow via Phabricator via
> cfe-commits wrote:
>
> marlowa added a comment.
>
> In https://reviews.llvm.org/D26418#653146, @nkakuev wrote:
>
>> Ping.
>
>
> another ping. I am desperate for this enhancement and am really glad that
> nkakuev has d
weimingz updated this revision to Diff 132089.
weimingz added a comment.
Herald added a subscriber: hintonda.
Disable tests that depend on random_device.
filesystem tests rely on random_device as seed to create random path. Although
it's possible to avoid the random_device but if the build targe
pcc created this revision.
pcc added reviewers: vlad.tsyrklevich, rsmith.
This change reduces the live range of the loaded function pointer,
resulting in a slight code size decrease (~10KB in clang), and also
improves the security of CFI for virtual calls by making it less
likely that the function
sbc100 updated this revision to Diff 132098.
sbc100 added a comment.
Herald added subscribers: cfe-commits, sunfish.
- update tests
Repository:
rC Clang
https://reviews.llvm.org/D37831
Files:
lib/Driver/ToolChains/CommonArgs.cpp
test/Driver/wasm-toolchain.c
test/Driver/wasm-toolchain.c
sbc100 added a comment.
After a little discussion about this and the -gc-sections linker flag, the
augments for the tools having sensible defaults seem to be winning.
This means we don't need the driver to pass these options, which makes our
commands lines shorter, and it also means that people
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
Oh, that makes much more sense, thanks.
Repository:
rL LLVM
https://reviews.llvm.org/D42660
___
cfe-commits mailing list
cfe-commits@lists
ilya-biryukov updated this revision to Diff 132100.
ilya-biryukov added a comment.
- Properly ignore errors.
- Run all requests to completion when destroying ThreadPool.
- Added simple tests for TUScheduler.
- Fixed include guards.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D
ilya-biryukov marked 2 inline comments as done.
ilya-biryukov added a comment.
All comments should be addressed now. Let me know if I missed anything else.
Comment at: clangd/threading/TUScheduler.h:1
+//===--- TUScheduler.h ---*-C++-*-==
jakehehrlich added a comment.
If its possible to split VisitEnumDecl, and VisitRecordDecl into separate
methods and the same is possible for VisitFunctionDecl and VisitCXXMethodDecl
then I think all of your methods will look like the following
VisitNamespaceDecl. That being the case you might w
jakehehrlich added inline comments.
Comment at: tools/clang-doc/ClangDocReporter.cpp:53-54
+ if (Pair == Docs.Namespaces.end()) {
+std::unique_ptr I = make_unique();
+Docs.Namespaces[Name] = std::move(I);
+populateBasicInfo(*Docs.Namespaces[Name], Name, D->getNameAsS
sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.
Ship it!
Comment at: clangd/ClangdServer.cpp:37
+template
+Ret waitForASTAction(Scheduler &S, PathRef File, Func &&F) {
+ std::packaged_task)> Task(
jakehehrlich added inline comments.
Comment at: tools/clang-doc/ClangDocReporter.cpp:55
+Docs.Namespaces[Name] = std::move(I);
+populateBasicInfo(*Docs.Namespaces[Name], Name, D->getNameAsString(),
+ getParentNamespace(D));
If you mak
100 matches
Mail list logo