lebedev.ri added a comment.
ping.
I wonder if @aaron.ballman has any opinion on this.
Repository:
rC Clang
https://reviews.llvm.org/D52695
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
gchatelet added inline comments.
Comment at: clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp:178
+ return;
+// Conversions to unsigned integer are well defined and follow modulo 2
+// arithmetic.
JonasToth wrote:
> I am surprised by `follo
gchatelet updated this revision to Diff 172904.
gchatelet marked 2 inline comments as done.
gchatelet added a comment.
- Addressing comments
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53488
Files:
clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
clang-tidy/cpp
calixte updated this revision to Diff 172905.
calixte added a comment.
Update doc.
Repository:
rC Clang
https://reviews.llvm.org/D52034
Files:
docs/UsersManual.rst
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/Driver/ToolCha
hans added a comment.
Thanks for fixing!
Repository:
rL LLVM
https://reviews.llvm.org/D54171
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
uabelho added a comment.
Hi,
I've got a post-review comment about the use of SCHED_IDLE vs the needed gcc
version.
Comment at: clang-tools-extra/trunk/clangd/Threading.cpp:110
+ T.native_handle(),
+ Priority == ThreadPriority::Low ? SCHED_IDLE : SCHED_OTHER, &priori
whisperity updated this revision to Diff 172908.
whisperity added a comment.
Test was added.
Repository:
rC Clang
https://reviews.llvm.org/D53334
Files:
lib/Frontend/CompilerInstance.cpp
test/Modules/Inputs/module-mismatch.cppm
test/Modules/mismatch-diagnostics.cpp
Index: test/Module
On Wed, Nov 7, 2018 at 10:32 AM Mikael Holmén via Phabricator <
revi...@reviews.llvm.org> wrote:
> uabelho added a comment.
>
> Hi,
>
> I've got a post-review comment about the use of SCHED_IDLE vs the needed
> gcc version.
>
>
>
>
> Comment at: clang-tools-extra/trunk/clangd/Thre
Author: ibiryukov
Date: Wed Nov 7 02:02:31 2018
New Revision: 346301
URL: http://llvm.org/viewvc/llvm-project?rev=346301&view=rev
Log:
[CodeComplete] Do not complete self-initializations
Summary:
Removes references to initialized variable from the following completions:
int x = ^;
Handles
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346301: [CodeComplete] Do not complete self-initializations
(authored by ibiryukov, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D54156
Files:
Hi,
On 11/7/18 11:03 AM, Sam McCall wrote:
> On Wed, Nov 7, 2018 at 10:32 AM Mikael Holmén via Phabricator
> mailto:revi...@reviews.llvm.org>> wrote:
>
> uabelho added a comment.
>
> Hi,
>
> I've got a post-review comment about the use of SCHED_IDLE vs the
> needed gcc version.
I'll send a patch shortly to unbreak this.
Is emitting a warning a problem for you? (i.e. do you build with -Werror)
I'd like to do something like #ifdef SCHED_IDLE ... #else #warning "old
libc?" #endif
That way if this isn't actually working we'll break in linux configurations
covered by -Werror
On 11/7/18 11:31 AM, Sam McCall wrote:
> I'll send a patch shortly to unbreak this.
>
> Is emitting a warning a problem for you? (i.e. do you build with -Werror)
Yes "unfortunately" we use -Werror.
> I'd like to do something like #ifdef SCHED_IDLE ... #else #warning "old
> libc?" #endif
> Tha
jkorous accepted this revision.
jkorous added a comment.
This revision is now accepted and ready to land.
LGTM and it seems like all of Eric's comments were answered too.
Repository:
rC Clang
https://reviews.llvm.org/D50926
___
cfe-commits mailin
jkorous accepted this revision.
jkorous added a comment.
This revision is now accepted and ready to land.
LGTM Thanks for fixing this!
Repository:
rC Clang
https://reviews.llvm.org/D50801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
olista01 accepted this revision.
olista01 added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rC Clang
https://reviews.llvm.org/D54148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cg
Author: abeserminji
Date: Wed Nov 7 03:37:05 2018
New Revision: 346302
URL: http://llvm.org/viewvc/llvm-project?rev=346302&view=rev
Log:
[mips][msa] Fix msa_[st/ld] offset check
This patch fixes a minimum divider for offset in intrinsics
msa_[st/ld]_[b/h/w/d], when value is known in compile time
This revision was automatically updated to reflect the committed changes.
Closed by commit rC346302: [mips][msa] Fix msa_[st/ld] offset check (authored
by abeserminji, committed by ).
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
https://reviews.llvm.org/D54038
Files:
lib/Sem
Author: dnsampaio
Date: Wed Nov 7 03:42:02 2018
New Revision: 346303
URL: http://llvm.org/viewvc/llvm-project?rev=346303&view=rev
Log:
[NFC][Clang][Aarch64] Add missing test file
The commit rL345273 by @LukeCheeseman has a missing test file,
see https://reviews.llvm.org/D51429
This patch adds th
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346303: [NFC][Clang][Aarch64] Add missing test file
(authored by dnsampaio, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D54148?vs=172743&id
AlexeySachkov updated this revision to Diff 172917.
AlexeySachkov added a comment.
Updated opencl-c.h header: fixed typos in built-in declarations. Applied
comment from Alexey
https://reviews.llvm.org/D51484
Files:
include/clang-c/Index.h
include/clang/AST/ASTContext.h
include/clang/AST/
hokein added a comment.
>> If you're suggesting proceeding with this regex based solution, I
>
> don't think that's a good idea. Why commit a hack which people will object to
> ever removing? Just see if we can do the right thing instead.
+1, my main concern is the complexity of the patch and m
donat.nagy updated this revision to Diff 172922.
donat.nagy marked an inline comment as done.
donat.nagy added a comment.
Use ASTContext::getFloatTypeSemantics()
Repository:
rC Clang
https://reviews.llvm.org/D52730
Files:
lib/StaticAnalyzer/Checkers/ConversionChecker.cpp
test/Analysis/co
Author: kadircet
Date: Wed Nov 7 04:25:27 2018
New Revision: 346308
URL: http://llvm.org/viewvc/llvm-project?rev=346308&view=rev
Log:
[clangd] [NFC] Fix clang-tidy warnings.
Reviewers: ioeric, sammccall, ilya-biryukov, hokein
Subscribers: MaskRay, jkorous, arphaman, cfe-commits
Differential Re
donat.nagy added a comment.
Could someone with commit rights commit this patch (if it is acceptable)? I
don't have commit rights myself.
Comment at: lib/StaticAnalyzer/Checkers/ConversionChecker.cpp:158-162
+unsigned FloatingSize = AC.getTypeSize(DestType);
+// getAllO
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346308: [clangd] [NFC] Fix clang-tidy warnings. (authored by
kadircet, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D54157
Files:
clang-tools
hokein created this revision.
hokein added a reviewer: sammccall.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay, ioeric,
ilya-biryukov.
Namespace references is less useful compared with other symbols, and
they contribute large part of the index. This patch drops them.
The number
hokein updated this revision to Diff 172926.
hokein added a comment.
Fix a typo.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54202
Files:
clangd/index/SymbolCollector.cpp
clangd/index/SymbolCollector.h
unittests/clangd/SymbolCollectorTests.cpp
Index: unittests/clangd
kadircet added inline comments.
Comment at: clangd/index/SymbolCollector.cpp:359
return true;
- if (CollectRef &&
+ if (CollectRef && !isa(ND) &&
(Opts.RefsInHeaders || SM.getFileID(SpellingLoc) == SM.getMainFileID()))
Why not handle in `shouldColle
Author: asavonic
Date: Wed Nov 7 05:07:18 2018
New Revision: 346311
URL: http://llvm.org/viewvc/llvm-project?rev=346311&view=rev
Log:
[OpenCL] Fix diagnostic message about overload candidates
Summary:
I wonder if there are some extension which need to be disabled to get
overloadable candidate av
This revision was automatically updated to reflect the committed changes.
Closed by commit rC346311: [OpenCL] Fix diagnostic message about overload
candidates (authored by asavonic, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D54152
Files:
include/clang/Basic/DiagnosticSem
steveire added a comment.
@hokein you and I seem to be making the same proposal :)
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54141
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/li
Szelethus added inline comments.
Comment at: test/Analysis/conversion.c:195
+return r;
+ } else if (b>1<<25) {
+float f = b; // expected-warning {{Loss of precision}}
NoQ wrote:
> Szelethus wrote:
> > This too -- how about running clang-format on this fi
Author: sammccall
Date: Wed Nov 7 05:21:09 2018
New Revision: 346312
URL: http://llvm.org/viewvc/llvm-project?rev=346312&view=rev
Log:
[clangd] Fix mainfile filtering for diagnostics: don't emit diagnostics for
builtin headers. (Relevant for clang-tidy)
Modified:
clang-tools-extra/trunk/cla
Szelethus added a comment.
Herald added a subscriber: donat.nagy.
Bad news, this approach doesn't work too well, and here's why:
https://github.com/llvm-mirror/clang/blob/master/lib/StaticAnalyzer/Core/CheckerRegistry.cpp#L115
void CheckerRegistry::initializeManager(CheckerManager &checkerMgr,
Szelethus added a comment.
I personally find the registration process very error-prone, the current
infrastructure around it makes it super easy to mess up in a way that won't be
detected for months, so we probably need a better approach altogether. It
shouldn't be possible to do any harm withi
Szelethus added a comment.
In https://reviews.llvm.org/D52984#1269850, @NoQ wrote:
> - Warning and note messages should be clear and easy to understand, even if a
> bit long.
> - Messages should start with a capital letter (unlike Clang warnings!) and
> should not end with `.`.
> - Articles
sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay,
ioeric, ilya-biryukov, mgorny, srhines.
This runs checks over a restricted subset of the TU:
- preprocessor callbacks just receive the truncated PP ev
ztamas updated this revision to Diff 172938.
ztamas added a comment.
- no `else` after `return`
- `static constexpr llvm::StringLiteral`
- CamelCase variable names
- Remove unneeded isIntegerType() check
- Better terminology: not terminating condition, but iteration's upper bound.
Repository:
AlexeySachkov updated this revision to Diff 172946.
AlexeySachkov added a comment.
Rebased to ToT.
https://reviews.llvm.org/D51484
Files:
include/clang-c/Index.h
include/clang/AST/ASTContext.h
include/clang/AST/Type.h
include/clang/Basic/OpenCLExtensionTypes.def
include/clang/Basic/Op
hokein updated this revision to Diff 172949.
hokein added a comment.
Move forward the patch based on the offline discussion.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53427
Files:
clangd/index/Index.cpp
clangd/index/Index.h
clangd/index/Merge.cpp
clangd/index/Seria
hokein added inline comments.
Comment at: clangd/index/SymbolCollector.cpp:359
return true;
- if (CollectRef &&
+ if (CollectRef && !isa(ND) &&
(Opts.RefsInHeaders || SM.getFileID(SpellingLoc) == SM.getMainFileID()))
kadircet wrote:
> Why not handle
hokein updated this revision to Diff 172950.
hokein marked an inline comment as done.
hokein added a comment.
Fix another typo.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54202
Files:
clangd/index/SymbolCollector.cpp
clangd/index/SymbolCollector.h
unittests/clangd/Sym
Author: hokein
Date: Wed Nov 7 06:59:24 2018
New Revision: 346319
URL: http://llvm.org/viewvc/llvm-project?rev=346319&view=rev
Log:
[clangd] Drop namespace references in the index.
Summary:
Namespace references is less useful compared with other symbols, and
they contribute large part of the ind
jkorous marked 6 inline comments as done.
jkorous added inline comments.
Comment at: clangd/CodeCompleteTests.cpp:2043
+TEST(CompletionTestNoExplicitMembers, Struct) {
+ clangd::CodeCompleteOptions Opts;
sammccall wrote:
> sammccall wrote:
> > (Should this be
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346319: [clangd] Drop namespace references in the index.
(authored by hokein, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D54202
Files:
clan
jkorous updated this revision to Diff 172951.
jkorous marked 4 inline comments as done.
jkorous added a comment.
Rewritten tests to shared implementation different cases.
https://reviews.llvm.org/D52554
Files:
unittests/clangd/CodeCompleteTests.cpp
Index: unittests/clangd/CodeCompleteTests.c
grimar updated this revision to Diff 172953.
grimar retitled this revision from "[Clang] - Add -gsingle-file-split-dwarf
option." to "[Clang] - Add -fdwarf-fission=split,single option.".
grimar added a comment.
Reimplemented option as `-fdwarf-fission[=split,single]`.
https://reviews.llvm.org/D
Author: asavonic
Date: Wed Nov 7 07:44:01 2018
New Revision: 346326
URL: http://llvm.org/viewvc/llvm-project?rev=346326&view=rev
Log:
[OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension
Summary:
Documentation can be found at
https://www.khronos.org/registry/OpenCL/exten
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346326: [OpenCL] Add support of
cl_intel_device_side_avc_motion_estimation extension (authored by asavonic,
committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://rev
dblaikie added a comment.
Thanks! - though on reflection I'm going to invoke @echristo again about the
naming. It's unfortunately a bit backwards that the pre-standard flag is
-gsplit-dwarf and what we're proposing as the standard flag is -fdwarf-fission,
when the DWARF standard doesn't use the
hokein added a comment.
I think this is in a good shape as initial patch!
Comment at: clangd/ClangdUnit.cpp:168
+// The placeholder check here does not use hasAncestor() so is unaffected.
+CTOpts.Checks = "bugprone-sizeof-expression";
+CTContext.emplace(llvm::make_u
juliehockett added inline comments.
Comment at: clang-tools-extra/clang-tidy/zircon/FblLimitsCheck.cpp:47
+SrcMgr::CharacteristicKind FileType) {
+ if (FileName == "fbl/limits.h") {
+unsigned End = std::strcspn(SM.getCharacterData(HashLoc), "\n") + 1;
aa
aprantl added a comment.
> I think the only way to realistically make this work for all platforms would
> be to separate the source file from the input/output. The source file would
> be the test case, and if you wanted to support a different debugger you would
> need to supply a different inpu
probinson added subscribers: gbedwell, probinson.
probinson added a comment.
+gbedwell
Just to throw the idea out there, why not abandon debuginfo-tests entirely and
try using Dexter for this. Dexter's design center is debug-info quality, not
correctness, but it already knows how to drive sever
zturner added a comment.
In https://reviews.llvm.org/D54187#1290247, @aprantl wrote:
> > I think the only way to realistically make this work for all platforms
> > would be to separate the source file from the input/output. The source file
> > would be the test case, and if you wanted to suppor
zturner added a comment.
In https://reviews.llvm.org/D54187#1290282, @probinson wrote:
> +gbedwell
>
> Just to throw the idea out there, why not abandon debuginfo-tests entirely
> and try using Dexter for this. Dexter's design center is debug-info quality,
> not correctness, but it already know
probinson added a comment.
In https://reviews.llvm.org/D54187#1290294, @zturner wrote:
> In https://reviews.llvm.org/D54187#1290282, @probinson wrote:
>
> > +gbedwell
> >
> > Just to throw the idea out there, why not abandon debuginfo-tests entirely
> > and try using Dexter for this. Dexter's de
aprantl added a comment.
In https://reviews.llvm.org/D54187#1290293, @zturner wrote:
> Especially since as far as I can tell, nobody has even run debuginfo-tests
> since late August, because it was actually broken by r341135 on August 30
> (fixed in r346060 yesterday)
Can you please refrain f
aprantl added a comment.
In https://reviews.llvm.org/D54187#1290298, @probinson wrote:
> In https://reviews.llvm.org/D54187#1290294, @zturner wrote:
>
> > In https://reviews.llvm.org/D54187#1290282, @probinson wrote:
> >
> > > +gbedwell
> > >
> > > Just to throw the idea out there, why not abando
zturner added a comment.
In https://reviews.llvm.org/D54187#1290297, @aprantl wrote:
> In https://reviews.llvm.org/D54187#1290293, @zturner wrote:
>
> > Especially since as far as I can tell, nobody has even run debuginfo-tests
> > since late August, because it was actually broken by r341135 on
aprantl added a comment.
In https://reviews.llvm.org/D54187#1290317, @zturner wrote:
> In https://reviews.llvm.org/D54187#1290297, @aprantl wrote:
>
> > In https://reviews.llvm.org/D54187#1290293, @zturner wrote:
> >
> > > Especially since as far as I can tell, nobody has even run
> > > debuginf
gbedwell added a comment.
In https://reviews.llvm.org/D54187#1290282, @probinson wrote:
> +gbedwell
>
> Just to throw the idea out there, why not abandon debuginfo-tests entirely
> and try using Dexter for this. Dexter's design center is debug-info quality,
> not correctness, but it already kno
xbolva00 added a comment.
@aaron.ballman
https://reviews.llvm.org/D52835
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
simoncook created this revision.
simoncook added a reviewer: asb.
Herald added subscribers: cfe-commits, jocewei, PkmX, rkruppe, the_o,
brucehoult, MartinMosbeck, rogfer01, mgrang, edward-jones, zzheng, jrtc27,
shiva0217, kito-cheng, niosHD, sabuasal, apazos, johnrusso, rbar.
For RISC-V the valu
Author: asavonic
Date: Wed Nov 7 10:34:19 2018
New Revision: 346338
URL: http://llvm.org/viewvc/llvm-project?rev=346338&view=rev
Log:
Revert r346326 [OpenCL] Add support of
cl_intel_device_side_avc_motion_estimation
This patch breaks Index/opencl-types.cl LIT test:
Script:
--
: 'RUN: at line 1
MaskRay added inline comments.
Comment at: clangd/index/Index.h:84
inline bool operator==(const SymbolLocation &L, const SymbolLocation &R) {
- return std::tie(L.FileURI, L.Start, L.End) ==
- std::tie(R.FileURI, R.Start, R.End);
+ return std::make_tuple(llvm::StringRef
asavonic added a comment.
I reverted this change in r346338, as it breaks Index/opencl-types.cl LIT test.
See
http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/21503/steps/ninja%20check%201/logs/FAIL%3A%20Clang%3A%3Aopencl-types.cl
Repository:
rL LLVM
https://reviews.llvm.org/D51
rupprecht added a comment.
@djasper -- ping
Repository:
rC Clang
https://reviews.llvm.org/D53952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rnk added a comment.
I hadn't realized that Dexter knew how to drive VS tools. I'll have to go read
more and get back to you all.
I think it would be more promising than attempting to come up with a new
llgdb.py-like abstraction for cdb. Specifically, abstracting over setting
breakpoints and r
probinson added a comment.
In https://reviews.llvm.org/D54187#1290340, @gbedwell wrote:
> (Dexter) will step through every line of the program it can, collecting info
> about each step until it reaches the program exit. It won't currently
> produce a pass/fail, but rather a score. That is, if
zturner added a comment.
In https://reviews.llvm.org/D54187#1290432, @rnk wrote:
> I hadn't realized that Dexter knew how to drive VS tools. I'll have to go
> read more and get back to you all.
>
> I think it would be more promising than attempting to come up with a new
> llgdb.py-like abstract
Author: abataev
Date: Wed Nov 7 11:11:14 2018
New Revision: 346343
URL: http://llvm.org/viewvc/llvm-project?rev=346343&view=rev
Log:
[OPENMP]Fix handling of the globals during compilation for the device.
Fixed lookup for the target regions in unused virtual functions + fixed
processing of the gl
nastafev added a comment.
Hello. It seems you were well aware that you are changing the semantics of FP
operation here by ignoring the signaling/quiet portion of the immediate. But
what shall the user do now? There was no way to force quiet FP comparison
behavior in C language, so intrinsics an
aaron.ballman added inline comments.
Comment at: clang-tools-extra/clang-tidy/zircon/FblLimitsCheck.cpp:47
+SrcMgr::CharacteristicKind FileType) {
+ if (FileName == "fbl/limits.h") {
+unsigned End = std::strcspn(SM.getCharacterData(HashLoc), "\n") + 1;
j
efriedma added a comment.
> It seems you were well aware that you are changing the semantics of FP
> operation here by ignoring the signaling/quiet portion of the immediate.
There's ongoing work to support code that accesses the floating point
environment (see
http://llvm.org/docs/LangRef.html
benhamilton added inline comments.
Comment at: docs/clang-tidy/checks/google-objc-function-naming.rst:20
+ static bool is_positive(int i) { return i > 0; }
+ bool IsNegative(int i) { return i < 0; }
+
This is not actually handled by the check, right? (You even
jranieri-grammatech created this revision.
jranieri-grammatech added reviewers: aaron.ballman, alexfh, NoQ.
Herald added subscribers: cfe-commits, mgorny.
This adds a checker, llvm-problematic-statics, that detects functions in header
files that return the address of a local static variable. Thes
aheejin added a comment.
I tried to add `ISD::SELECT` in the expansion list, like
for (auto Op : {ISD::VSELECT, ISD::SELECT_CC, ISD::SELECT}) {
...
}
And the code generation apparently works for current test `simd-select.ll`. I'm
not sure if it's optimal though. Could you check again?
dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.
While I'm not 100% sure about the actual fix - I'm confident enough that
@rsmith can provide any further clarification in post-commit.
the test case can probably be simplified before commi
Eugene.Zelenko added a comment.
C++ Core Guidelines also mentioned similar patterns, so may be this check
belongs to bugprone module?
Comment at: docs/clang-tidy/checks/llvm-problematic-statics.rst:7
+
+Looks for functions defined in "public" headers that return the address of
JonasToth added a comment.
I agree with @Eugene.Zelenko that this check should rather live in `bugprone-`
as the issue its diagnosing is not LLVM specific. It is ok to add an alias into
the llvm module.
Comment at: clang-tidy/llvm/ProblematicStaticsCheck.cpp:22
+void Problema
steveire added a comment.
This is https://bugs.llvm.org//show_bug.cgi?id=32739 . I think checks not
relevant to a general audience (ie including the boost directory) should be in
external plugins. It's not really clear to me what has to happen for that, but
it seems increasingly relevant.
htt
aaron.ballman added inline comments.
Comment at: clang-tidy/llvm/ProblematicStaticsCheck.cpp:33
+ const auto *VD = Result.Nodes.getNodeAs("var");
+ const auto *Return = Result.Nodes.getNodeAs("return");
+ diag(Return->getBeginLoc(), "address of static local variable %0 may not
nastafev added a comment.
> can trigger arbitrary floating-point exceptions anywhere in your code
I believe this statement reflects the current state of many compilers on the
market, I guess I just don't see the reason why making things worse. It seems
the original intent of the commit was to
Rakete updated this revision to Diff 173056.
Rakete added a comment.
Addressed review comments! :)
Repository:
rC Clang
https://reviews.llvm.org/D53847
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseDecl
Eugene.Zelenko added a comment.
Please mention new check in Release Notes (in alphabetical order).
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D54222
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cg
Rakete marked 9 inline comments as done.
Rakete added a comment.
I also found another diagnostic regression:
template
T::type();
The previous error message was something with "nested name specifier does not
refer to class ...". Now, the T::type part is interpreted as type and so we
neerajksingh marked 2 inline comments as done.
neerajksingh added a comment.
Will update revision...
Comment at: test/Driver/cl-options.c:619
+
+// RUN: %clang_cl -O2 -### -- %s 2>&1 | FileCheck -check-prefix=NOCLANG %s
+// NOCLANG: "--dependent-lib=libcmt"
han
neerajksingh updated this revision to Diff 173072.
neerajksingh marked an inline comment as done.
https://reviews.llvm.org/D53457
Files:
docs/UsersManual.rst
include/clang/Driver/CLCompatOptions.td
include/clang/Driver/Driver.h
lib/Driver/Driver.cpp
test/Driver/cl-options.c
Index: test
neerajksingh added a comment.
Reid, Hans, or someone else with commit access. If the revision looks good,
could you please submit to SVN?
Any particular testing I should run beforehand? I ran the clang tests locally
on Windows.
https://reviews.llvm.org/D53457
__
Author: smeenai
Date: Wed Nov 7 16:29:33 2018
New Revision: 346378
URL: http://llvm.org/viewvc/llvm-project?rev=346378&view=rev
Log:
[clang] Set CMP0075 to new
Make the check_include_file* macros honor CMAKE_REQUIRED_LIBRARIES. This
shouldn't cause any of the configuration checks to give differe
leonardchan updated this revision to Diff 173090.
leonardchan marked an inline comment as done.
leonardchan added a comment.
Herald added a subscriber: arphaman.
- Added a new type sugar node `MacroDefinedType` which wraps `AttributedType`s
for the purpose of determining if an attribute was defin
leonardchan added inline comments.
Comment at: lib/Sema/SemaType.cpp:5817-5822
+ IdentifierInfo *AddressSpaceMacroII = nullptr;
+ auto FoundMacro = S.PP.AddressSpaceMacros.find(
+ S.SourceMgr.getSpellingLoc(Attr.getLoc()));
+ if (FoundMacro != S.PP.Address
leonardchan added inline comments.
Comment at: clang/lib/AST/TypePrinter.cpp:958-964
+ // Remove the address_space qualifier so it does not get printed. We
+ // instead want to print the macro only.
+ SplitQualType SplitTy = AttrTy->getModifiedType().split();
+
dblaikie created this revision.
dblaikie added reviewers: JDevlieghere, aprantl, probinson.
Herald added a subscriber: cfe-commits.
This saves a lot of relocations in optimized object files (at the cost
of some cost/increase in linked executable bytes), but gold's 32 bit
gdb-index support has a bu
vsapsai created this revision.
vsapsai added reviewers: bruno, benlangmuir.
Herald added subscribers: dexonsmith, hiraditya.
It fixes the case when Objective-C framework is added as a subframework
through a symlink. When parent framework infers a module map and fails
to detect a symlink, it would
Eugene.Zelenko added inline comments.
Comment at: clang-tidy/abseil/DurationFactoryScaleCheck.cpp:36
+GetScaleForFactory(llvm::StringRef FactoryName) {
+ static const auto *ScaleMap =
+ new std::unordered_map(
This will cause memory leaks, so may be unique_
vsapsai added inline comments.
Comment at: clang/lib/Frontend/DependencyFile.cpp:100
+
+DepCollector.maybeAddDependency(HeaderPath, /*FromModule=*/false, IsSystem,
+/*IsModuleFile*/ false,
This `/*FromModule=*/false` looks
smeenai added a comment.
In https://reviews.llvm.org/D52674#1281747, @rjmccall wrote:
> In https://reviews.llvm.org/D52674#1271814, @smeenai wrote:
>
> > @rjmccall I prototyped the ForRTTI parameter approach in
> > https://reviews.llvm.org/D53546. It could definitely be cleaned up a bit,
> > bu
1 - 100 of 107 matches
Mail list logo