Author: sjoerdmeijer
Date: Mon Sep 24 00:55:20 2018
New Revision: 342862
URL: http://llvm.org/viewvc/llvm-project?rev=342862&view=rev
Log:
[ARM][AArch64] Add feature +fp16fml
Armv8.4-A adds a few FP16 instructions that can optionally be implemented
in CPUs of Armv8.2-A and above.
This patch adds
Author: omtcyfz
Date: Mon Sep 24 01:45:18 2018
New Revision: 342866
URL: http://llvm.org/viewvc/llvm-project?rev=342866&view=rev
Log:
[clangd] Force Dex to respect symbol collector flags
`Dex` should utilize `FuzzyFindRequest.RestrictForCodeCompletion` flags
and omit symbols not meant for code co
Author: svenvh
Date: Mon Sep 24 05:12:03 2018
New Revision: 342876
URL: http://llvm.org/viewvc/llvm-project?rev=342876&view=rev
Log:
Fix Wundef NDEBUG warning; NFC
Check for definedness of the NDEBUG macro rather than its value,
to be consistent with other uses.
Modified:
cfe/trunk/lib/Sema/
Author: kristina
Date: Mon Sep 24 07:06:47 2018
New Revision: 342883
URL: http://llvm.org/viewvc/llvm-project?rev=342883&view=rev
Log:
[Clang][CodeGen][ObjC]: Fix CoreFoundation on ELF with `-fconstant-cfstrings`.
[Clang][CodeGen][ObjC]: Fix non-bridged CoreFoundation builds on ELF targets
that u
SjoerdMeijer updated this revision to Diff 166643.
SjoerdMeijer added a comment.
Added FIXMEs, like in https://reviews.llvm.org/D50229, that this needs
reimplementation too after the TargerParser rewrite.
About v8.5, the ISA description is now available here:
https://developer.arm.com/products/
steveire added a comment.
Actually, I had not run the tests. Thanks for the reminder there. I extended
the patch to enable the tests even if CSA is not available.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52334
___
cfe-commits
steveire updated this revision to Diff 166644.
steveire marked 2 inline comments as done.
steveire added a comment.
Handle tests
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52334
Files:
CMakeLists.txt
clang-tidy/CMakeLists.txt
clang-tidy/ClangTidy.cpp
clang-tidy/plug
kristina added a comment.
In https://reviews.llvm.org/D52344#1243149, @rjmccall wrote:
> I can respect wanting to change the rules on ELF, but it sounds like we do
> need to stick with the current section names. Absent an ABI break to stop
> looking for the existing section names, CF will misb
mate1214 added a comment.
Hi @Szelethus !
Thanks for all your detailed and helpful input, I will make sure to go over all
the comments and answer them, but it will take some time.
A bit more background information on this checker and how it came to be might
help you and others to understand so
mate1214 added a comment.
Hi @lebedev.ri!
Thanks for the question. I was not sure as to where exactly put the files. The
important thing for me is that the `StackUsageMeasuringVisitor` should be
reachable from the clang-tidy checker. (For the bigger picture please refer to
my answer to @Szelet
craig.topper added a comment.
The only other header that uses the existing builtins is arm_acle.h. But
ARM returns false in isCLZForZeroUndef. So they should be creating the
cttz/ctlz intrinsics with false for the second argument from
__builtin_clz/ctz. The sanitizer code
in CodeGenFunction::EmitC
alexfh added a comment.
> ! In https://reviews.llvm.org/D52334#1242955, @JonasToth wrote:
> ... to me it makes sense to have clang-tidy without CSA.
Yep, it seems reasonable.
Comment at: test/CMakeLists.txt:69
-clang-tidy
-)
-endif()
+ clang-tidy
+ )
-
Meinersbur closed this revision.
Meinersbur added a comment.
Commited as https://reviews.llvm.org/rL342861.
Repository:
rC Clang
https://reviews.llvm.org/D50214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin
thakis added a comment.
In https://reviews.llvm.org/D52193#1241067, @aganea wrote:
> @thakis > clang-cl isn't supposed to do (explicit) registry accesses when you
> hold it right (pass in -fms-compatibility-version etc). Have you seen
> registry access costs, or is that speculation?
>
> Please
Anastasia added inline comments.
Comment at: include/clang/AST/OperationKinds.def:325
// Convert a zero value for OpenCL queue_t initialization.
CAST_OPERATION(ZeroToOCLQueue)
I am wondering if we could potentially unify all of those ZeroToOCL* into one
cast
alexfh added inline comments.
Comment at: clang-tidy/tool/clang-tidy-diff.py:123-130
if args.fix:
command.append('-fix')
if args.checks != '':
command.append('-checks=' + quote + args.checks + quote)
if args.quiet:
command.append('-quiet')
if args.build
arsenm created this revision.
arsenm added a reviewer: Anastasia.
Herald added subscribers: yaxunl, wdng.
Fixes not warning on format string errors.
https://reviews.llvm.org/D52412
Files:
lib/Headers/opencl-c.h
test/SemaOpenCL/printf-format-string-warnings.cl
Index: test/SemaOpenCL/printf
arsenm added inline comments.
Comment at: lib/CodeGen/CGBuiltin.cpp:11313-11315
+ case AMDGPU::BI__builtin_amdgcn_update_dpp: {
+llvm::SmallVector Args;
+for (unsigned I = 0; I != 6; ++I)
The only difference between this and mov_dpp is the argument count
JonasToth added a comment.
For the other patches and the following doing the same for other modules too?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.
takuto.ikuta added a comment.
Ping?
This patch reduced obj size largely, and I expect this makes distributed build
(like goma) faster by reducing data transferred on network.
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:5244
+ false))
+CmdArgs.push_
atanasyan created this revision.
atanasyan added reviewers: rsmith, rnk, zturner.
Herald added subscribers: jrtc27, arichardson, sdardis, srhines.
Enable integrated assembler for MIPS64 targets except N32 ABI explicitly
selected by the `-mabi=n32` command line option or `mips64(el)-linux-gnuabin3
ioeric created this revision.
ioeric added reviewers: sammccall, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
ioeric updated this revision to Diff 17.
ioeric added a comment.
- update comment
The file stats can be reused when preamble is reused
ioeric updated this revision to Diff 17.
ioeric added a comment.
- update comment
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52419
Files:
clangd/ClangdServer.cpp
clangd/ClangdUnit.cpp
clangd/ClangdUnit.h
clangd/CodeComplete.cpp
clangd/CodeComplete.h
unittest
kristina closed this revision.
kristina added a comment.
Closed by https://reviews.llvm.org/rL342883
(https://reviews.llvm.org/rC342883). Manually closing it as Phabricator is
slightly broken, hopefully it makes the links when it catches up.
Repository:
rC Clang
https://reviews.llvm.org/D52
kristina added a comment.
Alright, I guess I'll land it if there's no objections to it, `cfstring` is
staying as is, the PE/COFF codepath is not affected in terms of functionality
and test is fine I think, hopefully `x86_64-elf` will not yield different
results on different machines in terms of
This revision was automatically updated to reflect the committed changes.
Closed by commit rC342862: [ARM][AArch64] Add feature +fp16fml (authored by
SjoerdMeijer, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D50229
Files:
lib/Driver/ToolChains/Arch/AArch64.cpp
lib/Driver
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 rCXX342849: [libcxx] Document new symbols __u64toa and
__u32toa on Darwin (authored by ldionne, committed by ).
Changed pri
Author: stulova
Date: Mon Sep 24 07:21:56 2018
New Revision: 342885
URL: http://llvm.org/viewvc/llvm-project?rev=342885&view=rev
Log:
Revert "We allow implicit function declarations as an extension in all C
dialects. Remove OpenCL special case."
Discussed on cfe-commits (Week-of-Mon-20180820), t
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342866: [clangd] Force Dex to respect symbol collector flags
(authored by omtcyfz, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D52357?vs=16
hans added a comment.
In https://reviews.llvm.org/D51340#1243331, @takuto.ikuta wrote:
> Ping?
>
> This patch reduced obj size largely, and I expect this makes distributed
> build (like goma) faster by reducing data transferred on network.
I'll try to look at it this week.
Have you confirmed
lebedev.ri added a comment.
In https://reviews.llvm.org/D52390#1243228, @mate1214 wrote:
> Hi @lebedev.ri!
>
> Thanks for the question. I was not sure as to where exactly put the files.
> The important thing for me is that the `StackUsageMeasuringVisitor` should be
> reachable from the clang-ti
thakis added a comment.
...and to reword this a bit: Clang taking a long time to start up in some
configurations is a bug we should profile and fix :-)
Repository:
rC Clang
https://reviews.llvm.org/D52193
___
cfe-commits mailing list
cfe-commits
ilya-biryukov created this revision.
ilya-biryukov added reviewers: sammccall, ioeric.
Herald added subscribers: kadircet, arphaman, jkorous, MaskRay.
Make sure JSONRPCDispatcher outlives the worker threads, they access
its fields to remove the stored cancellations when Context dies.
Repository:
ioeric added inline comments.
Comment at: clangd/ClangdUnit.cpp:119
+/// Collect and cache all file status from the underlying file system.
+class CollectStatCacheVFS : public vfs::FileSystem {
Would it make sense to add a `clang::vfs::ProxyFS` that proxies cal
JonasToth added inline comments.
Comment at: test/clang-tidy/misc-unused-using-decls-cxx17.cpp:1
+// RUN: %check_clang_tidy %s misc-unused-using-decls %t -- --
-fno-delayed-template-parsing -std=gnu++17
+
why gnu++17 and not standard?
Repository:
rCTE Clang
Author: sammccall
Date: Mon Sep 24 07:51:15 2018
New Revision: 342888
URL: http://llvm.org/viewvc/llvm-project?rev=342888&view=rev
Log:
[clangd] Do bounds checks while reading data, otherwise var-length records are
too painful. NFC
Modified:
clang-tools-extra/trunk/clangd/index/Serialization
aaron.ballman created this revision.
aaron.ballman added reviewers: lebedev.ri, rsmith, dblaikie.
This patch diagnoses parameter names that shadow the names of inherited fields
under -Wshadow-field. It addresses PR34120. Note, unlike GCC, we take into
account the accessibility of the field when
Author: ioeric
Date: Mon Sep 24 07:52:11 2018
New Revision: 342889
URL: http://llvm.org/viewvc/llvm-project?rev=342889&view=rev
Log:
[VFS] Use llvm::StringMap instead of std::map. NFC
Modified:
cfe/trunk/lib/Basic/VirtualFileSystem.cpp
Modified: cfe/trunk/lib/Basic/VirtualFileSystem.cpp
URL:
Author: kristina
Date: Mon Sep 24 07:52:48 2018
New Revision: 342890
URL: http://llvm.org/viewvc/llvm-project?rev=342890&view=rev
Log:
[CFString][ELF] Fix a missed test causing buildbot failures from 342883.
Accidetanlly forgot to update it, big sorry.
Modified:
cfe/trunk/test/CodeGen/CFStr
ilya-biryukov created this revision.
ilya-biryukov added reviewers: kadircet, ioeric, sammccall.
Herald added subscribers: arphaman, jkorous, MaskRay.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52422
Files:
clangd/CodeComplete.cpp
unittests/clangd/CodeCompleteTests.cpp
I
donat.nagy created this revision.
donat.nagy added a reviewer: dergachev.a.
Herald added a subscriber: cfe-commits.
ConversionChecker produces false positives when it encounters the
idiomatic usage of certain well-known functions (e.g. getc() and the
character classification functions like isalpha
ioeric added inline comments.
Comment at: clangd/ClangdLSPServer.cpp:483
+ // Destroy ClangdServer to ensure all worker threads finish.
+ Server.reset();
This woudn't work if `run()` is called multiple times. Maybe create a `Server`
in each `run()`?
Repos
Author: kristina
Date: Mon Sep 24 08:26:08 2018
New Revision: 342893
URL: http://llvm.org/viewvc/llvm-project?rev=342893&view=rev
Log:
Revert "rL342883: [Clang][CodeGen][ObjC]: Fix CoreFoundation on ELF with
`-fconstant-cfstrings`."
Seems to be causing buildbot failures, need to look into it.
Szelethus edited reviewers, added: NoQ; removed: dergachev.a.
Szelethus added a comment.
Cool!
Comment at: test/Analysis/conversion.c:141
-// false positives..
+// old false positives..
I think this comment is no longer relevant ^-^
Repository:
rC Clang
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342895: [AArch64] Unwinding support for return address
signing (authored by LukeCheeseman, committed by ).
Herald added subscribers: llvm-commits, christof.
Changed prior to commit:
https://reviews.llvm
Author: lukecheeseman
Date: Mon Sep 24 08:55:35 2018
New Revision: 342895
URL: http://llvm.org/viewvc/llvm-project?rev=342895&view=rev
Log:
[AArch64] Unwinding support for return address signing
- When return address signing is enabled, the LR may be signed on function entry
- When an exception i
ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.
In https://reviews.llvm.org/D50171#1236792, @mgorny wrote:
> @ilya-biryukov, gentle ping. I'd like to patch this for 7.0.0 in Gentoo. Do
> you think my patch would be good enough
Author: mgorny
Date: Mon Sep 24 09:10:25 2018
New Revision: 342897
URL: http://llvm.org/viewvc/llvm-project?rev=342897&view=rev
Log:
[python] [tests] Update test_code_completion
Update expected completions to match output generated by clang-7.0.
Differential Revision: https://reviews.llvm.org/D5
This revision was automatically updated to reflect the committed changes.
Closed by commit rL342897: [python] [tests] Update test_code_completion
(authored by mgorny, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D50171?vs=164871&id=1
mgorny added a comment.
Thank you!
Repository:
rL LLVM
https://reviews.llvm.org/D50171
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: lukecheeseman
Date: Mon Sep 24 09:36:33 2018
New Revision: 342901
URL: http://llvm.org/viewvc/llvm-project?rev=342901&view=rev
Log:
Reverting r342895
- The used builtins do not compile for pre arm v8.3a targets with gcc
Modified:
libunwind/trunk/include/libunwind.h
libunwind/tru
ilya-biryukov added inline comments.
Comment at: clangd/ClangdLSPServer.cpp:483
+ // Destroy ClangdServer to ensure all worker threads finish.
+ Server.reset();
ioeric wrote:
> This woudn't work if `run()` is called multiple times. Maybe create a
> `Server`
ilya-biryukov added inline comments.
Comment at: clangd/CodeComplete.cpp:1699
+ if (Opts.EnableSnippets) {
+log("Suffix: {0}", SnippetSuffix);
LSP.textEdit->newText += SnippetSuffix;
Sorry, leftover from debug printing. Will remove
Repository:
rCTE
nickdesaulniers added inline comments.
Comment at: test/Sema/gnu89.c:1-2
-// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
+// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only 2>&1 | FileCheck
-check-prefix=CHECK-PEDANTIC %s
+// RUN: %clang_cc1 %s -std=gnu89
Anastasia added a comment.
In https://reviews.llvm.org/D43783#1235126, @yaxunl wrote:
> In https://reviews.llvm.org/D43783#1235090, @Anastasia wrote:
>
> > Ping! Do you still plan to do this? :)
>
>
> Sorry I caught up in something else. Since there are some subsequent commits,
> it may take som
Author: sammccall
Date: Mon Sep 24 09:52:48 2018
New Revision: 342903
URL: http://llvm.org/viewvc/llvm-project?rev=342903&view=rev
Log:
[clangd] Fix uninit bool in r342888
Modified:
clang-tools-extra/trunk/clangd/index/Serialization.cpp
Modified: clang-tools-extra/trunk/clangd/index/Serializ
ilya-biryukov added a comment.
> This seems very clever, but extremely complicated - you've implemented much
> of C++'s conversion logic, it's not clear to me which parts are actually
> necessary to completion quality.
Clearly the model that supports C++ conversions is something that **will**
andrewjcg updated this revision to Diff 166709.
andrewjcg added a comment.
Dropping the module directory entirely and fully resolving paths on
serialization
broke some things during deserialization, specifically when the deserializer
wanted
to update paths to use an alternate module directory.
ldionne added a subscriber: mclow.lists.
ldionne added a comment.
I believe this header has been deprecated. According to
http://eel.is/c++draft/diff.cpp17.library, the effect of this header is
nothing. @mclow.lists can you chime in?
Repository:
rCXX libc++
https://reviews.llvm.org/D46443
shuaiwang updated this revision to Diff 166710.
shuaiwang added a comment.
Added test case place holder for cases that should be supported in later
patches.
Repository:
rC Clang
https://reviews.llvm.org/D52219
Files:
include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
lib/Analysis/Ex
steven_wu added a comment.
Thanks for doing this!
Can you add some test cases just to be complete? Other than that, LGTM!
Repository:
rC Clang
https://reviews.llvm.org/D52252
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.l
ilya-biryukov added inline comments.
Comment at: clangd/ExpectedTypes.h:68
+
+/// Represents a type of partially applied conversion. Should be treated as an
+/// opaque value and can only be used to check whether the types are converible
sammccall wrote:
> this r
echristo added a comment.
In https://reviews.llvm.org/D52296#1241928, @probinson wrote:
> Do we generate the .dwo file directly these days? If not, I can imagine
> wanting to avoid the overhead of the objcopy hack; as long as the linker is
> smart enough not to bother with the .debug_*.dwo sec
echristo added a comment.
In https://reviews.llvm.org/D52296#1241928, @probinson wrote:
> Do we generate the .dwo file directly these days? If not, I can imagine
> wanting to avoid the overhead of the objcopy hack; as long as the linker is
> smart enough not to bother with the .debug_*.dwo sec
lebedev.ri added a comment.
Thanks!
Comment at: lib/Sema/SemaDecl.cpp:12380-12382
}
+ if (LangOpts.CPlusPlus && II) {
I think you could move it into the `if()` above?
https://reviews.llvm.org/D52421
___
cfe
george.karpenkov added a comment.
The concept makes sense. @NoQ any comments? I don't recall seeing that pattern
before.
Comment at: test/Analysis/conversion.c:144
int isascii(int c);
void falsePositive1() {
char kb2[5];
Also the function name should be c
aaron.ballman updated this revision to Diff 166716.
aaron.ballman marked an inline comment as done.
aaron.ballman added a comment.
Updated based on review feedback.
https://reviews.llvm.org/D52421
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDec
aaron.ballman added inline comments.
Comment at: lib/Sema/SemaDecl.cpp:12380-12382
}
+ if (LangOpts.CPlusPlus && II) {
lebedev.ri wrote:
> I think you could move it into the `if()` above?
You are correct, I'll hoist it.
https://reviews.llvm.org/D52421
Szelethus added inline comments.
Comment at: test/Analysis/conversion.c:158
extern int dostuff (void);
int falsePositive2() {
int c, n;
And this one
Repository:
rC Clang
https://reviews.llvm.org/D52423
___
NoQ added a comment.
Maybe just move `StdCLibraryFunctionsChecker` to `core`? (`.apiModeling`?) We
officially don't support disabling `core`, so i guess it kinda solves the
issue. Also all of our languages are C-based, these functions are present on
all platforms (if any of those aren't, we cou
Author: d0k
Date: Mon Sep 24 10:51:15 2018
New Revision: 342909
URL: http://llvm.org/viewvc/llvm-project?rev=342909&view=rev
Log:
Fix the type of 1<<31 integer constants.
Shifting into the sign bit is technically undefined behavior. No known
compiler exploits it though.
Modified:
cfe/trunk/i
Author: stefanp
Date: Mon Sep 24 11:14:50 2018
New Revision: 342911
URL: http://llvm.org/viewvc/llvm-project?rev=342911&view=rev
Log:
[Power9] [CLANG] Add __float128 exponent GET and SET builtins
Added
__builtin_vsx_scalar_extract_expq
__builtin_vsx_scalar_insert_exp_qp
Builtins should behave t
This revision was automatically updated to reflect the committed changes.
Closed by commit rC342911: [Power9] [CLANG] Add __float128 exponent GET and SET
builtins (authored by stefanp, committed by ).
Herald added subscribers: cfe-commits, jsji, kristina.
Changed prior to commit:
https://review
trong updated this revision to Diff 166722.
trong added a comment.
- Added test case for using -fcall-saved-x18 and -ffixed-x18 together.
Repository:
rC Clang
https://reviews.llvm.org/D52399
Files:
docs/ClangCommandLineReference.rst
include/clang/Driver/Options.td
lib/Driver/ToolChains
Author: calixte
Date: Mon Sep 24 11:24:18 2018
New Revision: 342912
URL: http://llvm.org/viewvc/llvm-project?rev=342912&view=rev
Log:
[CodeGen] Revert commit https://reviews.llvm.org/rL342717
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
cfe/trunk/lib/CodeGen/CGDebugInfo.h
cfe/trunk
kristina reopened this revision.
kristina added a comment.
This revision is now accepted and ready to land.
Cascade of build failures stemming from `GV->setSection(".rodata");`, reverted
the commit, it seems that `CFString.c` is causing all those issues despite
passing when ran locally.
Reposi
sammccall added a comment.
Happy to speculate about what might work here, but I strongly believe the path
forward here is to build the simplest version of this feature, without
conversions, and try to avoid complicated conversion logic if we can get most
of the benefit in simpler ways.
In http
nickdesaulniers accepted this revision.
nickdesaulniers added a comment.
This revision is now accepted and ready to land.
Thanks for this patch, Tri!
Repository:
rC Clang
https://reviews.llvm.org/D52399
___
cfe-commits mailing list
cfe-commits@li
Szelethus added a comment.
> Thanks for all your detailed and helpful input, I will make sure to go over
> all the comments and answer them, but it will take some time.
Cheers! I can't emphasize enough however that I might be wrong on what I've
said, or say in this comment.
> It was my introdu
nickdesaulniers updated this revision to Diff 166737.
nickdesaulniers added a comment.
- remove debug statments
Repository:
rC Clang
https://reviews.llvm.org/D52248
Files:
lib/Sema/SemaType.cpp
test/Sema/gnu89-const.c
Index: test/Sema/gnu89-const.c
==
nickdesaulniers updated this revision to Diff 166736.
nickdesaulniers added a comment.
- add ISO C tests, handle typedef case new tests found
Repository:
rC Clang
https://reviews.llvm.org/D52248
Files:
lib/Sema/SemaType.cpp
test/Sema/gnu89-const.c
Index: test/Sema/gnu89-const.c
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
Looks good, sorry for the delay.
Repository:
rUNW libunwind
https://reviews.llvm.org/D51657
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
nickdesaulniers updated this revision to Diff 166740.
nickdesaulniers added a comment.
- condense CHECK-prefixes into CHECK for const const
Repository:
rC Clang
https://reviews.llvm.org/D52248
Files:
lib/Sema/SemaType.cpp
test/Sema/gnu89-const.c
Index: test/Sema/gnu89-const.c
=
Szelethus added a comment.
One important thing I forgot, that you cant rely on `ProgramState` due to
tidy's constraints. Btw, how do you plan to make this into a tidy checker? To
me it seems like it would amplify the already existing false positive issues
(if I understand your currect way of th
nickdesaulniers added inline comments.
Comment at: test/Sema/gnu89-const.c:41-46
+CHECK-CNU99-NOT: 27:1: warning: duplicate 'const' declaration specifier
+CHECK-CNU99-PEDANTIC-NOT: 27:1: warning: duplicate 'const' declaration
specifier
+CHECK-CNU11-NOT: 27:1: warning: duplicate
gtbercea created this revision.
gtbercea added reviewers: ABataev, caomhin.
Herald added subscribers: cfe-commits, guansong, jholewinski.
For the OpenMP NVPTX toolchain choose default schedules which ensure coalescing
on the GPU when in SPMD mode. This significantly increases the performance of
mstorsjo added inline comments.
Comment at: src/CMakeLists.txt:60
+ append_if(libraries LIBUNWIND_HAS_GCC_S_LIB gcc_s)
+ list(APPEND libraries gcc)
+endif()
I'm a little suspicious of this line, of forcibly linking against libgcc here,
even if we might not hav
nickdesaulniers updated this revision to Diff 166742.
nickdesaulniers added a comment.
- fix typo s/CNU/GNU/g and update NOTEs
Repository:
rC Clang
https://reviews.llvm.org/D52248
Files:
lib/Sema/SemaType.cpp
test/Sema/gnu89-const.c
Index: test/Sema/gnu89-const.c
==
nickdesaulniers updated this revision to Diff 166743.
nickdesaulniers added a comment.
- adjust wording in comment
Repository:
rC Clang
https://reviews.llvm.org/D52248
Files:
lib/Sema/SemaType.cpp
test/Sema/gnu89-const.c
Index: test/Sema/gnu89-const.c
==
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
Aside from the local `const` qualification stuff and some minor wordsmithing of
the documentation, this LGTM.
Comment at: clang-tidy/modernize/ConcatNestedName
leonardchan updated this revision to Diff 166746.
leonardchan added a comment.
Herald added a subscriber: cfe-commits.
- Removed passes since ssaturate can be expanded in the DAG
Repository:
rC Clang
https://reviews.llvm.org/D52286
Files:
include/llvm/CodeGen/ISDOpcodes.h
include/llvm/IR
nickdesaulniers added a comment.
This now matches GCC AFAICT. My only question is:
Should GCC instead warn for the typedef case for -std=c89 (non pedantic),
according to C90 6.5.3?
Repository:
rC Clang
https://reviews.llvm.org/D52248
___
cfe-c
aaron.ballman added inline comments.
Comment at: clang-tidy/modernize/ReplaceGenericFunctorCallCheck.cpp:70
+ if (MFunctor && MFunctor->isTypeDependent()) {
+const auto *Paren = static_cast(MFunctor->getCallee());
+const auto *BinOp =
JonasToth wrote:
>
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, but you should give @delesley a chance to weigh in before you commit.
Repository:
rC Clang
https://reviews.llvm.org/D52398
___
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52264
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.l
fwyzard created this revision.
fwyzard added reviewers: tra, Hahnfeld.
Herald added a subscriber: cfe-commits.
Add the definitions for CUDA 10.0 and CUDA architecture 7.5 (Turing),
and define CUDA 10.0 as the highest supported version.
Starting with CUDA 10.0, the include files
include/crt/*
Author: george.karpenkov
Date: Mon Sep 24 14:20:30 2018
New Revision: 342920
URL: http://llvm.org/viewvc/llvm-project?rev=342920&view=rev
Log:
[analyzer] Prevent crashes in FindLastStoreBRVisitor
This patch is a band-aid. A proper solution would be too change
trackNullOrUndefValue to only try to
leonardchan updated this revision to Diff 166756.
leonardchan added a reviewer: rjmccall.
leonardchan changed the repository for this revision from rC Clang to rL LLVM.
Repository:
rL LLVM
https://reviews.llvm.org/D52286
Files:
include/llvm/CodeGen/ISDOpcodes.h
include/llvm/IR/Intrinsics.t
leonardchan added a comment.
Of the intrinsics we plan to implement, it seems that the ordering of
legalization affects specifically the fixed point mul/div intrinsics since if
they get expanded into other nodes, we will need to check again for legal types
since performing scaled mul/div requir
tra created this revision.
tra added a reviewer: jlebar.
Herald added subscribers: bixia, hiraditya, sanjoy, jholewinski.
https://reviews.llvm.org/D52438
Files:
clang/include/clang/Basic/Cuda.h
clang/lib/Basic/Cuda.cpp
clang/lib/Basic/Targets/NVPTX.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
1 - 100 of 133 matches
Mail list logo