Author: jbcoe
Date: Mon Oct 16 16:46:02 2017
New Revision: 315959
URL: http://llvm.org/viewvc/llvm-project?rev=315959&view=rev
Log:
[libclang] Add support for querying cursor availability
Summary:
This patch allows checking the availability of cursors through libclang and
clang.cindex (Python).
howard.hinnant added a comment.
Fwiw, I wrote this code. All of that "fallback" stuff was written to make
customer code that was incorrect, but working on OS X
-version-that-used-libsupc++ continue to work. I.e. to be a crutch for
incorrect code. It should all be removed if you no longer wan
danalbert added a comment.
In https://reviews.llvm.org/D38599#899196, @howard.hinnant wrote:
> Fwiw, I wrote this code. All of that "fallback" stuff was written to make
> customer code that was incorrect, but working on OS X
> -version-that-used-libsupc++ continue to work. I.e. to be a crutch
howard.hinnant added a comment.
Ok. Well that's why it is under a #define: to make it easier to include or
not, depending on the needs of the platform.
https://reviews.llvm.org/D38599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http:/
tra added a comment.
Please add tests for the cases where such local->shaed conversion should and
should not happen.
I would appreciate if you could add details on what exactly your passes are
supposed to move to shared memory.
Considering that device-side code tends to be heavily inlined, it m
arphaman created this revision.
Herald added subscribers: ilya-biryukov, mgorny.
This patch adds support for editor commands that allow refactoring to be used
in editor clients like libclang or clangd.
An editor command can be bound to an refactoring action rule. Once it is bound,
it's available
george.karpenkov created this revision.
Herald added subscribers: szepet, xazax.hun.
@dcoughlin I'm curious whether you'd like such a change: in general, I think it
is much better when the assert failure tells the developer _what_ value is
failing, rather than saying "oops we are dead".
I would
Author: compnerd
Date: Mon Oct 16 20:30:25 2017
New Revision: 315968
URL: http://llvm.org/viewvc/llvm-project?rev=315968&view=rev
Log:
Basic: make the nan family pure
The nan family of math routines do not rely on global state. They do
however depend on their parameter. This fits the descriptio
t-tye added inline comments.
Comment at: include/clang/Basic/TargetInfo.h:1060
+ /// \returns Maximum device supported OpenCL workgroup size.
+ virtual unsigned getOpenCLMaxWorkGroupSize(unsigned Dim) const {
+return 0;
Is this specifically tied to OpenCL o
bsdjhb updated this revision to Diff 119245.
bsdjhb added a comment.
- Save all of the general purpose registers.
https://reviews.llvm.org/D38110
Files:
include/__libunwind_config.h
include/libunwind.h
src/Registers.hpp
src/UnwindCursor.hpp
src/UnwindRegistersRestore.S
src/UnwindReg
bsdjhb marked 2 inline comments as done.
bsdjhb added inline comments.
Comment at: src/UnwindRegistersSave.S:100
+#
+DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
+ .set push
sdardis wrote:
> After looking at another implementation of libunwind and the other platfor
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
LGTM.
Repository:
rL LLVM
https://reviews.llvm.org/D38945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cg
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
Ok.
https://reviews.llvm.org/D38796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cf
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D38966
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/
rjmccall added inline comments.
Comment at: lib/CodeGen/CGExpr.cpp:3665
-LValue CodeGenFunction::EmitLValueForField(LValue base,
- const FieldDecl *field) {
- LValueBaseInfo BaseInfo = base.getBaseInfo();
- AlignmentSource fieldAlignS
kosarev updated this revision to Diff 119257.
kosarev added a comment.
- Removed renamings that complicate reviewing.
https://reviews.llvm.org/D38947
Files:
lib/CodeGen/CGExpr.cpp
Index: lib/CodeGen/CGExpr.cpp
===
--- lib/CodeGe
kosarev added a comment.
Yes, some preparation code moved past the isBitField() block and generation of
TBAA info moved before creating the bit-field lvalue.
Thanks for catching the BaseExpr renaming.
https://reviews.llvm.org/D38947
___
cfe-commit
nik added a comment.
This fixes the reported bug for me :)
There is another related issue that is not addressed by this change. I've
reported it as
[preamble] Skipped ranges vanish after reparse (#ifdef with #include)
https://bugs.llvm.org/show_bug.cgi?id=34971
https://reviews.llvm.org/D385
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
Okay, thanks.
https://reviews.llvm.org/D38947
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/l
Author: vedantk
Date: Mon Oct 16 23:51:54 2017
New Revision: 315979
URL: http://llvm.org/viewvc/llvm-project?rev=315979&view=rev
Log:
[Coverage] Explicitly mark the l.h.s of && and || (fixes PR33465)
This makes it possible to view sub-line region counts for the l.h.s of
&& and || expressions in c
101 - 120 of 120 matches
Mail list logo