echristo closed this revision.
echristo added a comment.
This was committed:
commit d65cd1f9424369c4ae7f945fac7fd9e4357451b2
Author: Sean Fertile
Date: Thu Jan 5 21:43:30 2017 +
Add vec_insert4b and vec_extract4b functions to altivec.h
Add builtins for the functions and custom code
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293609: [lsan] Enable LSan for x86 Linux (authored by
chefmax).
Changed prior to commit:
https://reviews.llvm.org/D29077?vs=85756&id=86387#toc
Repository:
rL LLVM
https://reviews.llvm.org/D29077
Fi
Author: sammccall
Date: Mon Jan 30 23:23:20 2017
New Revision: 293604
URL: http://llvm.org/viewvc/llvm-project?rev=293604&view=rev
Log:
In VirtualCallChecker, handle indirect calls
Summary:
In VirtualCallChecker, handle indirect calls.
getDirectCallee() can be nullptr, and dyn_cast(nullptr) is U
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293604: In VirtualCallChecker, handle indirect calls
(authored by sammccall).
Changed prior to commit:
https://reviews.llvm.org/D29303?vs=86342&id=86385#toc
Repository:
rL LLVM
https://reviews.llvm.
dberris accepted this revision.
dberris added a comment.
This revision is now accepted and ready to land.
LGTM
https://reviews.llvm.org/D28001
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
Author: arsenm
Date: Mon Jan 30 21:42:07 2017
New Revision: 293600
URL: http://llvm.org/viewvc/llvm-project?rev=293600&view=rev
Log:
AMDGPU: Add builtin for fmed3 intrinsic
Modified:
cfe/trunk/include/clang/Basic/BuiltinsAMDGPU.def
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
cfe/trunk/test/Co
Author: marshall
Date: Mon Jan 30 21:40:52 2017
New Revision: 293599
URL: http://llvm.org/viewvc/llvm-project?rev=293599&view=rev
Log:
Fix PR#31779: basic_string::operator= isn't exception safe.
Modified:
libcxx/trunk/include/string
libcxx/trunk/test/std/strings/basic.string/string.cons/c
hfinkel added inline comments.
Comment at: lib/Driver/Driver.cpp:172
+NumConfigArgs = static_cast(NumCfgArgs);
+ }
+
sepavloff wrote:
> bruno wrote:
> > If `NumCfgArgs == 0` it would be nice to warn that the config file is empty?
> Not sure if it makes sense
Hans, can this be merged to 4.0? This fixes a regression from 3.9 (the part I
touched was committed a few years ago, but didn’t cause an assert until
recently).
> On Jan 30, 2017, at 6:31 PM, Akira Hatanaka via cfe-commits
> wrote:
>
> Author: ahatanak
> Date: Mon Jan 30 20:31:39 2017
> New
Can you file a PR for changing this to internal visibility please? I think
that we could probably do that in the unstable ABI versioning in fact.
On Mon, Jan 30, 2017 at 5:26 PM, Justin Bogner via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: bogner
> Date: Mon Jan 30 19:26:09 2017
I think that the patch is starting to look pretty good!
Can you add some test cases for the particular cases to diagnose in a
separate test set to ensure that we have proper coverage of the various
cases rather than relying on the existing test cases? Something to make
sure that we get the simple
Author: ahatanak
Date: Mon Jan 30 20:31:39 2017
New Revision: 293596
URL: http://llvm.org/viewvc/llvm-project?rev=293596&view=rev
Log:
Handle ObjCEncodeExpr in extractStringLiteralCharacter.
This fixes an assertion failure that occurs later in the function when
an ObjCEncodeExpr is cast to String
Author: rsmith
Date: Mon Jan 30 20:23:02 2017
New Revision: 293595
URL: http://llvm.org/viewvc/llvm-project?rev=293595&view=rev
Log:
Improve fix for PR28739
Don't try to map an APSInt addend to an int64_t in pointer arithmetic before
bounds-checking it. This gives more consistent behavior (outsid
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rL LLVM
https://reviews.llvm.org/D29304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailm
Hi Richard
Sorry for the late reply. Thank you for giving the feedback! The updated
version is attached. Please let me know if there is anything improper.
Thanks
James
From: on behalf of Richard Smith
Date: Friday, January 27, 2017 at 3:03 PM
To: James Sun
Cc: Saleem Abdulrasool , "cfe-comm
timshen updated this revision to Diff 86377.
timshen added a comment.
ActOnFinishFullExpr after exiting the expression evaluation context.
https://reviews.llvm.org/D24333
Files:
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Sema/TreeTransform.h
clang/test/Sema/pr30306.cpp
Ind
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293585: Add better ODR checking for modules. (authored by
rtrieu).
Changed prior to commit:
https://reviews.llvm.org/D21675?vs=86142&id=86376#toc
Repository:
rL LLVM
https://reviews.llvm.org/D21675
Author: rtrieu
Date: Mon Jan 30 19:44:15 2017
New Revision: 293585
URL: http://llvm.org/viewvc/llvm-project?rev=293585&view=rev
Log:
Add better ODR checking for modules.
When objects are imported for modules, there is a chance that a name collision
will cause an ODR violation. Previously, only a
timshen updated this revision to Diff 86375.
timshen added a comment.
Fix in the right way as rsmith pointed out.
https://reviews.llvm.org/D24333
Files:
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Sema/TreeTransform.h
clang/test/Sema/pr30306.cpp
Index: clang/test/Sema/pr303
Author: bogner
Date: Mon Jan 30 19:26:09 2017
New Revision: 293581
URL: http://llvm.org/viewvc/llvm-project?rev=293581&view=rev
Log:
Revert "Adorn __call_once_proxy with `inline` and `_LIBCPP_INLINE_VISIBILITY`"
While this change didn't really hurt, it does lead to spurious
warnings about not bei
On 15 December 2016 at 00:09, Yaxun Liu via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: yaxunl
> Date: Thu Dec 15 02:09:08 2016
> New Revision: 289787
>
> URL: http://llvm.org/viewvc/llvm-project?rev=289787&view=rev
> Log:
> Re-commit r289252 and r289285, and fix PR31374
>
> Added:
mkuper resigned from this revision.
mkuper added a comment.
I admit it would be nice if someone reviewed this, but I'm really the wrong
person for this code area. :-)
https://reviews.llvm.org/D16135
___
cfe-commits mailing list
cfe-commits@lists.ll
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
Comment at: lib/Driver/MSVCToolChain.cpp:34
+ #if 0
+#define USE_VS_SETUP_CONFIG
+ #endif
hamzasood wrote:
> rnk wrote:
> > What are the outstanding iss
Sorry about that!
I took another shot at it in r293572.
vedant
> On Jan 30, 2017, at 3:37 AM, Alex Lorenz via cfe-commits
> wrote:
>
> Author: arphaman
> Date: Mon Jan 30 05:37:18 2017
> New Revision: 293475
>
> URL: http://llvm.org/viewvc/llvm-project?rev=293475&view=rev
> Log:
> Revert "r2
Author: vedantk
Date: Mon Jan 30 17:38:54 2017
New Revision: 293572
URL: http://llvm.org/viewvc/llvm-project?rev=293572&view=rev
Log:
Re-apply "[ubsan] Sanity-check shift amounts before truncation"
This re-applies r293343 (reverts commit r293475) with a fix for an
assertion failure caused by a mi
Author: rsmith
Date: Mon Jan 30 17:30:26 2017
New Revision: 293568
URL: http://llvm.org/viewvc/llvm-project?rev=293568&view=rev
Log:
PR28739: Check that integer values fit into 64 bits before extracting them as
64 bit values for pointer arithmetic.
This fixes various ways to tickle an assertion
Author: compnerd
Date: Mon Jan 30 16:25:28 2017
New Revision: 293556
URL: http://llvm.org/viewvc/llvm-project?rev=293556&view=rev
Log:
Serialization: use range based for loop (NFC)
Just a small clean up noticed when doing post-commit review of Duncan's
previous change for ModuleFile memory owners
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
https://reviews.llvm.org/D29303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
sammccall updated this revision to Diff 86342.
sammccall added a comment.
Add regression test.
https://reviews.llvm.org/D29303
Files:
lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
test/Analysis/virtualcall.cpp
Index: test/Analysis/virtualcall.cpp
=
mgorny created this revision.
Include a path hint for find_package() in ClangConfig.cmake to ensure
that CMake prefers LLVM installed alongside clang over the default
search path.
If two versions of LLVM are installed in the system, and one of them is
in PATH, CMake's find_package() magic prefers
bkramer added a comment.
Your test case is fine, it crashes with assertions enabled.
https://reviews.llvm.org/D29303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rsmith added inline comments.
Comment at: clang/test/SemaCXX/pr30306.cpp:5
+template
+void g(T) { int a[f(3)]; } // expected-no-diagnostics
+
Shouldn't we be (somehow) handling the cleanups from the array bound expression
here -- either discarding them or attac
sammccall added a comment.
I couldn't work out how to add a test for this, advice appreciated.
Closest I could get was adding something like this to
test/Analysis/virtualcall.cpp:
class F { public: F(); void foo(); };
F::F() { void (F::* ptr) = &F::foo; (this->*ptr)(); }
which crashes, but
sammccall updated this revision to Diff 86337.
sammccall added a comment.
Oops, reverted noise :(
https://reviews.llvm.org/D29303
Files:
lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
Index: lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
=
sammccall created this revision.
In VirtualCallChecker, handle indirect calls.
getDirectCallee() can be nullptr, and dyn_cast(nullptr) is UB
https://reviews.llvm.org/D29303
Files:
lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
Index: lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
==
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293548: [clang-format] Fix regression that breaks comments
without a comment prefix (authored by krasimir).
Changed prior to commit:
https://reviews.llvm.org/D29298?vs=86328&id=86331#toc
Repository:
Author: krasimir
Date: Mon Jan 30 15:00:01 2017
New Revision: 293548
URL: http://llvm.org/viewvc/llvm-project?rev=293548&view=rev
Log:
[clang-format] Fix regression that breaks comments without a comment prefix
Summary:
Consider formatting the following code fragment with column limit 20:
```
{
djasper created this revision.
The main motivation behind this is to cleanup the WhitespaceManager and make it
more extensible for future alignment etc. features. Specifically,
WhitespaceManager has started to copy more and more code that is already
present in FormatToken. Instead, I think it m
Thanks for the revert; fixed and re-committed as r293544.
On 30 January 2017 at 02:44, Sam McCall via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: sammccall
> Date: Mon Jan 30 04:44:11 2017
> New Revision: 293473
>
> URL: http://llvm.org/viewvc/llvm-project?rev=293473&view=rev
> Log
Author: rsmith
Date: Mon Jan 30 14:39:26 2017
New Revision: 293544
URL: http://llvm.org/viewvc/llvm-project?rev=293544&view=rev
Log:
Towards P0091R3: parsing support for class template argument deduction in
typename-specifiers.
This reinstates r293455, reverted in r293455, with a fix for cv-qual
Author: compnerd
Date: Mon Jan 30 13:57:27 2017
New Revision: 293543
URL: http://llvm.org/viewvc/llvm-project?rev=293543&view=rev
Log:
experimental: avoid using raw _WIN32 in filesystem
Use the _LIBCPP_WIN32API macro instead of _WIN32 checks. Fix a missed
renaming for style conformance.
Modifie
etherzhhb added a comment.
In https://reviews.llvm.org/D28050#660715, @ahatanak wrote:
> I think this patch is an improvement, but Clang::ConstructJob is still one
> giant function.
>
> Do you have ideas to improve readability of this function or plans to further
> reduce its size?
I am tryin
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293539: [clang-format] Separate line comment sections after
a right brace from comment… (authored by krasimir).
Changed prior to commit:
https://reviews.llvm.org/D29291?vs=86316&id=86317#toc
Repository
Author: krasimir
Date: Mon Jan 30 13:18:55 2017
New Revision: 293539
URL: http://llvm.org/viewvc/llvm-project?rev=293539&view=rev
Log:
[clang-format] Separate line comment sections after a right brace from comment
sections in the scope.
Summary:
The following two comment lines form a single comm
krasimir updated this revision to Diff 86316.
krasimir added a comment.
- Remove scope
https://reviews.llvm.org/D29291
Files:
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTest.cpp
Index: unittests/Format/FormatTest.cpp
==
djasper accepted this revision.
djasper added inline comments.
This revision is now accepted and ready to land.
Comment at: lib/Format/UnwrappedLineParser.cpp:2095
+ const FormatToken *MinColumnToken = Line.Tokens.front().Tok;
+ {
+// Scan for '{//'. If found, use the colum
Author: compnerd
Date: Mon Jan 30 12:50:34 2017
New Revision: 293531
URL: http://llvm.org/viewvc/llvm-project?rev=293531&view=rev
Log:
experimental: port directory_iterator to Windows
This adds a basic first cut implementation for directory_iterator on
Windows. It uses the FindFirstFile/FindNext
ahatanak added a comment.
I think this patch is an improvement, but Clang::ConstructJob is still one
giant function.
Do you have ideas to improve readability of this function or plans to further
reduce its size?
Repository:
rL LLVM
https://reviews.llvm.org/D28050
___
Author: compnerd
Date: Mon Jan 30 12:50:32 2017
New Revision: 293530
URL: http://llvm.org/viewvc/llvm-project?rev=293530&view=rev
Log:
experimental: add missing file header
The directory_iterator implementation file was missing the file header.
Add one. NFC.
Modified:
libcxx/trunk/src/exper
ABataev added a comment.
Ping
https://reviews.llvm.org/D22955
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: d0k
Date: Mon Jan 30 12:32:46 2017
New Revision: 293523
URL: http://llvm.org/viewvc/llvm-project?rev=293523&view=rev
Log:
[AST] Give TemplateArgumentLoc a constexpr ctor.
This removes the thread-safe static from
clang::TemplateTemplateParmDecl::getDefaultArgument() const::None
Modified:
Author: d0k
Date: Mon Jan 30 12:20:00 2017
New Revision: 293518
URL: http://llvm.org/viewvc/llvm-project?rev=293518&view=rev
Log:
[ASTMatchers] Sprinkle some constexpr on the global matcher constructors.
This dramatically reduces the size of the global constructors we emit
for those variables in
GorNishanov added a comment.
LGTM? Pretty please :)
https://reviews.llvm.org/D28835
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Okay as is, then. Thanks for the explanation.
--paulr
From: David Blaikie [mailto:dblai...@gmail.com]
Sent: Monday, January 30, 2017 9:32 AM
To: Robinson, Paul
Cc: cfe-commits (cfe-commits@lists.llvm.org)
Subject: Re: r293457 - Tidy up codegen modules test & make it x86 specific
since it relies
On reflection itanium wouldn't be sufficient/my comment wasn't sufficiently
descriptive (I realized after I made this change that it would also fix the
MacOS buildbot failure I was seeing & hadn't understood) - Darwin doesn't
use comdats, for example, but is still an itanium ABI.
I could remove th
Use %itanium_abi_triple instead?
> -Original Message-
> From: cfe-commits [mailto:cfe-commits-boun...@lists.llvm.org] On Behalf Of
> David Blaikie via cfe-commits
> Sent: Sunday, January 29, 2017 9:34 PM
> To: cfe-commits@lists.llvm.org
> Subject: r293457 - Tidy up codegen modules test & m
mehdi_amini added a comment.
In https://reviews.llvm.org/D27985#660354, @davidb wrote:
> In https://reviews.llvm.org/D27985#660029, @mehdi_amini wrote:
>
> > LGTM.
> >
> > Can you apply the patch in LLVM (libDemangle) as well please?
>
>
> Thank you Mehdi. I have an LLVM (libDemangle) with an ide
krystyna updated this revision to Diff 86298.
krystyna edited the summary of this revision.
krystyna added a comment.
Style fixes.
https://reviews.llvm.org/D29262
Files:
clang-tidy/modernize/UseUsingCheck.cpp
clang-tidy/modernize/UseUsingCheck.h
test/clang-tidy/modernize-use-using-macros.
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
https://reviews.llvm.org/D29152
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
hans added a comment.
Ping?
https://reviews.llvm.org/D29152
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: anemet
Date: Mon Jan 30 10:22:50 2017
New Revision: 293493
URL: http://llvm.org/viewvc/llvm-project?rev=293493&view=rev
Log:
Adjust tests after folding inlining analysis into missed remarks
Modified:
cfe/trunk/test/Frontend/optimization-remark-with-hotness.c
cfe/trunk/test/Fronten
danielcdh updated this revision to Diff 86292.
danielcdh added a comment.
update
https://reviews.llvm.org/D29205
Files:
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGDebugInfo.cpp
Index: lib/CodeGen/CGDebugInfo.cpp
===
--- lib/Co
This review thread is missing on-list approval. I assume it happened on
Phab & just wasn't reflected here (if the Phab approval has no text it
doesn't send an email, which is unfortunate - not sure if anyone's planning
to fix that/change the settings, but until then it's helpful to include
"LGTM" o
Hi Hans,
Could this go into the stable branch, along with the follow-ups:
r293461
r293463
r293466
> On Jan 28, 2017, at 8:50 PM, Argyrios Kyrtzidis via cfe-commits
> wrote:
>
> Author: akirtzidis
> Date: Sat Jan 28 22:50:35 2017
> New Revision: 293416
>
> URL: http://llvm.org/viewvc/llvm-proj
Author: d0k
Date: Mon Jan 30 10:00:57 2017
New Revision: 293488
URL: http://llvm.org/viewvc/llvm-project?rev=293488&view=rev
Log:
[AST] Make header standalone.
Most implementations get ptrdiff_t transitively, some don't. Explicitly
include cstddef.
Modified:
cfe/trunk/include/clang/AST/ASTVe
jbcoe updated this revision to Diff 86289.
jbcoe added a comment.
Add link to HIC++ website and fix release notes.
https://reviews.llvm.org/D29267
Files:
clang-tools-extra/clang-tidy/CMakeLists.txt
clang-tools-extra/clang-tidy/safety/CMakeLists.txt
clang-tools-extra/clang-tidy/safety/NoAs
Thanks! Always love to see cleanup like this :)
On Sat, Jan 28, 2017 at 2:35 PM Duncan P. N. Exon Smith via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: dexonsmith
> Date: Sat Jan 28 16:24:01 2017
> New Revision: 293395
>
> URL: http://llvm.org/viewvc/llvm-project?rev=293395&view=re
Author: d0k
Date: Mon Jan 30 09:39:18 2017
New Revision: 293485
URL: http://llvm.org/viewvc/llvm-project?rev=293485&view=rev
Log:
[IRGen] Make header standalone.
Modified:
cfe/trunk/lib/CodeGen/ABIInfo.h
Modified: cfe/trunk/lib/CodeGen/ABIInfo.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/
davidb added a comment.
In https://reviews.llvm.org/D27985#660029, @mehdi_amini wrote:
> LGTM.
>
> Can you apply the patch in LLVM (libDemangle) as well please?
Thank you Mehdi. I have an LLVM (libDemangle) with an identical change (minus
the tests) waiting. Would you like my to submit it as a
Author: sammccall
Date: Mon Jan 30 04:44:11 2017
New Revision: 293473
URL: http://llvm.org/viewvc/llvm-project?rev=293473&view=rev
Log:
Revert r293455, which breaks v8 with a spurious error. Testcase added.
Summary: Revert r293455, which breaks v8 with a spurious error. Testcase added.
Reviewers
Another example + possible fix (two WidthMinusOne, one per (possibly
different) bitwidth): (not fully tested)
int f() {
return 0 << 0L;
}
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp
index 40d949dece..5c9055d49a 100644
--- a/lib/CodeGen/CGExprScalar.cpp
+++ b/lib/Cod
Hi Vedant,
This commit has caused a compiler crash in our stage 2 green dragon
ASAN+Ubsan bot (
http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_build/). I have
reverted it in r293475. The following example reproduces the crash with
-fsanitize=undefined :
typedef unsigned long long u
Author: arphaman
Date: Mon Jan 30 05:37:18 2017
New Revision: 293475
URL: http://llvm.org/viewvc/llvm-project?rev=293475&view=rev
Log:
Revert "r293343 - [ubsan] Sanity-check shift amounts before truncation
(fixes PR27271)"
After r293343 clang fails to compile itself with -fsanitize=undefined (
ht
sammccall added a comment.
In https://reviews.llvm.org/D29271#660169, @sberg wrote:
> Btw, ran into that with the even simpler test case
Thanks, I stole it :-)
https://reviews.llvm.org/D29271
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293473: Revert r293455, which breaks v8 with a spurious
error. Testcase added. (authored by sammccall).
Changed prior to commit:
https://reviews.llvm.org/D29271?vs=86257&id=86259#toc
Repository:
rL L
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
lg
https://reviews.llvm.org/D29271
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
sberg added a comment.
Btw, ran into that with the even simpler test case
template struct S {
static typename T::t const n = 0;
};
struct U { using t = int; };
int main() { return S::n; }
https://reviews.llvm.org/D29271
___
cfe-commit
sammccall created this revision.
Revert r293455, which breaks v8 with a spurious error. Testcase added.
https://reviews.llvm.org/D29271
Files:
include/clang/AST/DeclTemplate.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTempl
78 matches
Mail list logo