Re: [PATCH] D15120: Add support for __float128 type to be used by targets that support it

2015-12-06 Thread Richard Smith via cfe-commits
rsmith added a comment. +rjmccall for `@encode` and USR mangling. Comment at: include/clang-c/Index.h:2879-2885 @@ -2878,8 +2878,9 @@ CXType_LongDouble = 23, - CXType_NullPtr = 24, - CXType_Overload = 25, - CXType_Dependent = 26, - CXType_ObjCId = 27, - CXType_ObjCClass

Re: [PATCH] D10834: Added functions to retrieve information about whether a vardecl is local in libclang and its python bindings.

2015-12-06 Thread guibufolo+l...@gmail.com via cfe-commits
RedX2501 added a comment. Ping http://reviews.llvm.org/D10834 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D10833: Retrieve BinaryOperator::getOpcode and BinaryOperator::getOpcodeStr via libclang and its python interface

2015-12-06 Thread guibufolo+l...@gmail.com via cfe-commits
RedX2501 added a comment. Ping http://reviews.llvm.org/D10833 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D15174: [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly.

2015-12-06 Thread Alexey Bataev via cfe-commits
John, Your example won't be compiled at all. Clang and MSVC emit error messages in this case. The next code struct A { __declspec(property(get=GetX,put=SetX)) int x; int GetX() const { return 0; } void SetX(long y) {} }; a.x = 5; compiled fine by MSVC and clang and provides c

Re: [PATCH] D15120: Add support for __float128 type to be used by targets that support it

2015-12-06 Thread Nemanja Ivanovic via cfe-commits
nemanjai added a comment. Just a friendly reminder to the reviewers that this patch has been up for almost a week with no review comments. Please take some time to review. Repository: rL LLVM http://reviews.llvm.org/D15120 ___ cfe-commits mailin

Re: [PATCH] D15174: [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly.

2015-12-06 Thread John McCall via cfe-commits
rjmccall added inline comments. Comment at: lib/Sema/SemaPseudoObject.cpp:464 @@ -461,1 +463,3 @@ + if (useSetterResultAsExprResult(result.get())) +setResultToLastSemantic(); Sure, but that's not what I'm saying. I'm saying that the code, as you've writte

Re: [PATCH] D15174: [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly.

2015-12-06 Thread Alexey Bataev via cfe-commits
ABataev updated this revision to Diff 42026. ABataev marked 2 inline comments as done. ABataev added a comment. Update after review http://reviews.llvm.org/D15174 Files: lib/Sema/SemaPseudoObject.cpp test/CodeGenCXX/ms-property.cpp test/SemaCXX/ms-property-error.cpp test/SemaCXX/ms-prop

Re: [PATCH] D15220: [OPENMP] dist_schedule clause for distribute directive

2015-12-06 Thread Alexey Bataev via cfe-commits
ABataev added a comment. Tests? Repository: rL LLVM http://reviews.llvm.org/D15220 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D15174: [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly.

2015-12-06 Thread Alexey Bataev via cfe-commits
ABataev marked 2 inline comments as done. Comment at: lib/Sema/SemaPseudoObject.cpp:232 @@ -231,3 +231,3 @@ /// Return true if assignments have a non-void result. -bool CanCaptureValue(Expr *exp) { +bool CanCaptureValue(Expr *exp) const { if (exp->isGLValue())

r254889 - Fix PR20334: invalid assertion while diagnosing list initialization failure

2015-12-06 Thread Faisal Vali via cfe-commits
Author: faisalv Date: Sun Dec 6 20:37:44 2015 New Revision: 254889 URL: http://llvm.org/viewvc/llvm-project?rev=254889&view=rev Log: Fix PR20334: invalid assertion while diagnosing list initialization failure https://llvm.org/bugs/show_bug.cgi?id=20334 Unfortunately, clang currently checks for

Re: [PATCH] D14814: [libcxx] Use __make_integer_seq builtin when available

2015-12-06 Thread David Majnemer via cfe-commits
majnemer added a comment. This LGTM but @mclow.lists or @EricWF should give the final say-so. http://reviews.llvm.org/D14814 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D15267: For MS ABI, emit dllexport friend functions defined inline in class

2015-12-06 Thread Stephan Bergmann via cfe-commits
sberg created this revision. sberg added a reviewer: cfe-commits. ...as that is apparently what MSVC does http://reviews.llvm.org/D15267 Files: include/clang/AST/ASTConsumer.h include/clang/Frontend/MultiplexConsumer.h include/clang/Sema/Sema.h lib/CodeGen/CodeGenAction.cpp lib/CodeGen

Re: [PATCH] D15062: [clang-format] Add test for AlignAfterOpenBracket = AlwaysBreak in C++.

2015-12-06 Thread Jean-Philippe Dufraigne via cfe-commits
jeanphilippeD added a comment. Thanks a lot, I do not have commit access. I'm happy for you to commit it when you have time. http://reviews.llvm.org/D15062 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman

[PATCH] D15266: [clang-format] Handle \n the same way as std::endl with stream operator.

2015-12-06 Thread Jean-Philippe Dufraigne via cfe-commits
jeanphilippeD created this revision. jeanphilippeD added a reviewer: djasper. jeanphilippeD added a subscriber: cfe-commits. Herald added a subscriber: klimek. clang-format break multi-line streams after std::endl. It now also break for '\n', the suggested replacement for std::endl: http://llvm.o

Re: [PATCH] D15062: [clang-format] Add test for AlignAfterOpenBracket = AlwaysBreak in C++.

2015-12-06 Thread Daniel Jasper via cfe-commits
djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Looks good. http://reviews.llvm.org/D15062 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listin

Re: [PATCH] D15062: [clang-format] Add test for AlignAfterOpenBracket = AlwaysBreak in C++.

2015-12-06 Thread Jean-Philippe Dufraigne via cfe-commits
jeanphilippeD added a comment. Hi Daniel, Realized that I should have added you when I submitted it. Not sure if this review slipped through, or you were too busy, or if this change is not desired since the code was added to support JS. Kind Regards, Jean-Philippe. http://reviews.llvm.org/D1506

r254876 - [PGO] Instrument only base constructors and destructors.

2015-12-06 Thread Serge Pavlov via cfe-commits
Author: sepavloff Date: Sun Dec 6 08:32:39 2015 New Revision: 254876 URL: http://llvm.org/viewvc/llvm-project?rev=254876&view=rev Log: [PGO] Instrument only base constructors and destructors. Constructors and destructors may be represented by several functions in IR. Only base structors correspo

Re: [PATCH] D15158: [PGO] Instrument only base constructors and destructors.

2015-12-06 Thread Serge Pavlov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL254876: [PGO] Instrument only base constructors and destructors. (authored by sepavloff). Changed prior to commit: http://reviews.llvm.org/D15158?vs=41744&id=42011#toc Repository: rL LLVM http://rev