[PATCH] D42983: [clang-tidy] Add readability-simd-intrinsics check.

2018-02-15 Thread Fangrui Song via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rCTE325272: [clang-tidy] Add `readability-simd-intrinsics` check. (authored by MaskRay, committed by ). Changed prior to commit: https://reviews.llvm.org/D42983?vs=134447&id=134448#toc Repository: rCTE

New LLD performance builder

2018-02-15 Thread Galina Kistanova via cfe-commits
Hello everyone, I have added a new public LLD performance builder at http://lab.llvm.org:8011/builders/lld-perf-testsuite. It builds LLVM and LLD by the latest releaed Clang and runs a set of perfromance tests. The builder is reliable. Please pay attention on the failures. The performance statis

[PATCH] D43248: [Attr] Fix printing of parameter indices in attributes

2018-02-15 Thread Joel E. Denny via Phabricator via cfe-commits
jdenny added inline comments. Comment at: include/clang/Basic/Attr.td:182 + // it would always be false. + string DisallowImplicitThisParamName = disallowImplicitThisParamName; +} aaron.ballman wrote: > Is there much benefit to forcing the attribute author to p

[PATCH] D43340: Clean up AMDGCN tests

2018-02-15 Thread Tony Tye via Phabricator via cfe-commits
t-tye accepted this revision. t-tye added a comment. This revision is now accepted and ready to land. LGTM Plus I think there was a test with giz in its name. Should that be renamed? https://reviews.llvm.org/D43340 ___ cfe-commits mailing list cfe-c

[PATCH] D43246: [clangd] Assert path is absolute when assigning to URIForFile.

2018-02-15 Thread Sam McCall via Phabricator via cfe-commits
sammccall accepted this revision. sammccall added a comment. This revision is now accepted and ready to land. LG if we want to do this (please getFile -> file though!) Comment at: clangd/Protocol.h:52 struct URIForFile { + URIForFile() = default; ioeric wro

[PATCH] D43248: [Attr] Fix printing of parameter indices in attributes

2018-02-15 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: lib/Sema/SemaDeclAttr.cpp:355-357 } + else if (DisallowImplicitThisParam) +*DisallowImplicitThisParam = false; jdenny wrote: > aaron.ballman wrote: > > Formatting is off here -- the `else if` should go up a

[PATCH] D43341: [clang-doc] Implement reducer portion of the frontend framework

2018-02-15 Thread Julie Hockett via Phabricator via cfe-commits
juliehockett created this revision. juliehockett added reviewers: klimek, sammccall, jakehehrlich. juliehockett added a project: clang-tools-extra. Herald added a subscriber: mgorny. juliehockett added a dependency: D41102: Setup clang-doc frontend framework. Implements a simple, in-memory reducer

[PATCH] D35894: [clangd] Code hover for Clangd

2018-02-15 Thread Simon Marchi via Phabricator via cfe-commits
simark updated this revision to Diff 134452. simark added a comment. Fix field names in XRefsTests.cpp I realized I forgot to add some fixups in the previous version, the field names in XRefsTests.cpp were not updated and therefore it did not build. Repository: rCTE Clang Tools Extra https:/

Re: r325203 - Reapply r325193

2018-02-15 Thread Jan Vesely via cfe-commits
On Thu, 2018-02-15 at 02:37 +, Konstantin Zhuravlyov via cfe- commits wrote: > Author: kzhuravl > Date: Wed Feb 14 18:37:04 2018 > New Revision: 325203 > > URL: http://llvm.org/viewvc/llvm-project?rev=325203&view=rev > Log: > Reapply r325193 Ca you please not do that ? Is it that difficul

[PATCH] D34367: CodeGen: Fix address space of indirect function argument

2018-02-15 Thread John McCall via Phabricator via cfe-commits
rjmccall added a comment. That's not really okay; there are some places that make guarantees about call-argument ordering, and in general we want that to be decided at a higher level, rather than having a particular order forced in corner cases just to satisfy a lower-level implementation requi

[PATCH] D43340: Clean up AMDGCN tests

2018-02-15 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. In https://reviews.llvm.org/D43340#1008980, @t-tye wrote: > LGTM Plus I think there was a test with giz in its name. Should that be > renamed? That's test/CodeGenOpenCL/amdgpu-env-amdgiz.cl. I already renamed it in my last commit. https://reviews.llvm.org/D43340 _

[PATCH] D43320: Allow dllimport non-type template arguments in C++17

2018-02-15 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added inline comments. Comment at: clang/lib/AST/ExprConstant.cpp:10166-10182 +EvalInfo Info(Ctx, Result, EvalInfo::EM_ConstantFold); +Info.IsNonTypeTemplateArgument = true; +LValue LV; +if (!EvaluateLValue(this, LV, Info) || Result.HasSideEffects || +

r325278 - [analyzer] NFC: Eliminate ParentMap lookup in mayInlineCallKind().

2018-02-15 Thread Artem Dergachev via cfe-commits
Author: dergachev Date: Thu Feb 15 11:01:55 2018 New Revision: 325278 URL: http://llvm.org/viewvc/llvm-project?rev=325278&view=rev Log: [analyzer] NFC: Eliminate ParentMap lookup in mayInlineCallKind(). Don't look at the parent statement to figure out if the cxx-allocator-inlining flag should kic

[PATCH] D43340: Clean up AMDGCN tests

2018-02-15 Thread Brian Sumner via Phabricator via cfe-commits
b-sumner accepted this revision. b-sumner added a comment. Looks good to me. https://reviews.llvm.org/D43340 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D34367: CodeGen: Fix address space of indirect function argument

2018-02-15 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. In https://reviews.llvm.org/D34367#1009021, @rjmccall wrote: > That's not really okay; there are some places that make guarantees about > call-argument ordering, and in general we want that to be decided at a higher > level, rather than having a particular order forced i

[PATCH] D30691: [analyzer] Support for naive cross translational unit analysis

2018-02-15 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun added a comment. In https://reviews.llvm.org/D30691#1003514, @george.karpenkov wrote: > Python code looks OK to me, I have one last request: could we have a small > documentation how the whole thing is supposed work in integration, preferably > on an available open-source project any

[PATCH] D30691: [analyzer] Support for naive cross translational unit analysis

2018-02-15 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun updated this revision to Diff 134431. xazax.hun added a comment. - Rebased to current ToT - Fixed a problem that the scan-build-py used an old version of the ctu configuration option - Added a short guide how to use CTU https://reviews.llvm.org/D30691 Files: include/clang/StaticAna

[clang-tools-extra] r325272 - [clang-tidy] Add `readability-simd-intrinsics` check.

2018-02-15 Thread Fangrui Song via cfe-commits
Author: maskray Date: Thu Feb 15 09:56:43 2018 New Revision: 325272 URL: http://llvm.org/viewvc/llvm-project?rev=325272&view=rev Log: [clang-tidy] Add `readability-simd-intrinsics` check. Summary: Many architectures provide SIMD operations (e.g. x86 SSE/AVX, Power AltiVec/VSX, ARM NEON). It is co

[PATCH] D43340: Clean up AMDGCN tests

2018-02-15 Thread Yaxun Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC325279: Clean up AMDGCN tests (authored by yaxunl, committed by ). Changed prior to commit: https://reviews.llvm.org/D43340?vs=134445&id=134465#toc Repository: rC Clang https://reviews.llvm.org/D433

r325279 - Clean up AMDGCN tests

2018-02-15 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Thu Feb 15 11:12:41 2018 New Revision: 325279 URL: http://llvm.org/viewvc/llvm-project?rev=325279&view=rev Log: Clean up AMDGCN tests Differential Revision: https://reviews.llvm.org/D43340 Modified: cfe/trunk/test/CodeGen/address-space.c cfe/trunk/test/CodeGenCXX/cxx

r325282 - [analyzer] Compute the correct this-region for temporary destructors.

2018-02-15 Thread Artem Dergachev via cfe-commits
Author: dergachev Date: Thu Feb 15 11:17:44 2018 New Revision: 325282 URL: http://llvm.org/viewvc/llvm-project?rev=325282&view=rev Log: [analyzer] Compute the correct this-region for temporary destructors. Inline them if possible - a separate flag is added to control this. The whole thing is unde

[PATCH] D43104: [analyzer] Find correct region for simple temporary destructor calls and inline them if possible.

2018-02-15 Thread Phabricator via Phabricator via cfe-commits
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 rL325282: [analyzer] Compute the correct this-region for temporary destructors. (authored by dergachev, committed by ). Hera

[PATCH] D43104: [analyzer] Find correct region for simple temporary destructor calls and inline them if possible.

2018-02-15 Thread Phabricator via Phabricator via cfe-commits
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 rC325282: [analyzer] Compute the correct this-region for temporary destructors. (authored by dergachev, committed by ). Rep

[PATCH] D43273: [libcxx] [test] Fix MSVC warnings and errors.

2018-02-15 Thread Stephan T. Lavavej via Phabricator via cfe-commits
STL_MSFT added a comment. Would pragmas guarded by `_MSC_VER` be acceptable for the truncation warnings? https://reviews.llvm.org/D43273 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

r325284 - [analyzer] Implement path notes for temporary destructors.

2018-02-15 Thread Artem Dergachev via cfe-commits
Author: dergachev Date: Thu Feb 15 11:28:21 2018 New Revision: 325284 URL: http://llvm.org/viewvc/llvm-project?rev=325284&view=rev Log: [analyzer] Implement path notes for temporary destructors. Temporary destructors fire at the end of the full-expression. It is reasonable to attach the path note

[PATCH] D43144: [analyzer] Implement path notes for temporary destructors.

2018-02-15 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL325284: [analyzer] Implement path notes for temporary destructors. (authored by dergachev, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D431

r325286 - [analyzer] Suppress temporary destructors for temporary arrays.

2018-02-15 Thread Artem Dergachev via cfe-commits
Author: dergachev Date: Thu Feb 15 11:34:19 2018 New Revision: 325286 URL: http://llvm.org/viewvc/llvm-project?rev=325286&view=rev Log: [analyzer] Suppress temporary destructors for temporary arrays. Array destructors, like constructors, need to be called for each element of the array separately.

[PATCH] D43149: [analyzer] Fix a crash on destroying a temporary array.

2018-02-15 Thread Phabricator via Phabricator via cfe-commits
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 rC325286: [analyzer] Suppress temporary destructors for temporary arrays. (authored by dergachev, committed by ). Repositor

[PATCH] D41228: [ObjC] Enable __strong pointers in structs under ARC

2018-02-15 Thread John McCall via Phabricator via cfe-commits
rjmccall added inline comments. Comment at: include/clang/AST/Decl.h:3619 +return NonTrivialToPrimitiveDestructiveMove; + } + Please document that this means a C++-style destructive move that leaves the source object in a validly-initialized state. ==

[PATCH] D42605: [Sema] Toggle diags when finding allocators (NFCI)

2018-02-15 Thread Brian Gesiak via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC325288: [Sema] Toggle diags when finding allocators (NFCI) (authored by modocache, committed by ). Changed prior to commit: https://reviews.llvm.org/D42605?vs=131728&id=134489#toc Repository: rC Clan

r325288 - [Sema] Toggle diags when finding allocators (NFCI)

2018-02-15 Thread Brian Gesiak via cfe-commits
Author: modocache Date: Thu Feb 15 12:09:25 2018 New Revision: 325288 URL: http://llvm.org/viewvc/llvm-project?rev=325288&view=rev Log: [Sema] Toggle diags when finding allocators (NFCI) Summary: Many methods in Sema take a `bool Diagnose` parameter. Examples of such methods include `Sema::FindDe

[PATCH] D42605: [Sema] Toggle diags when finding allocators (NFCI)

2018-02-15 Thread Brian Gesiak via Phabricator via cfe-commits
modocache added a comment. Thanks again, @GorNishanov, for all the reviews! Repository: rC Clang https://reviews.llvm.org/D42605 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r325291 - [Coroutines] Use allocator overload when available

2018-02-15 Thread Brian Gesiak via cfe-commits
Author: modocache Date: Thu Feb 15 12:37:22 2018 New Revision: 325291 URL: http://llvm.org/viewvc/llvm-project?rev=325291&view=rev Log: [Coroutines] Use allocator overload when available Summary: Depends on https://reviews.llvm.org/D42605. An implementation of the behavior described in `[dcl.fct

[PATCH] D42606: [Coroutines] Use allocator overload when available

2018-02-15 Thread Brian Gesiak via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC325291: [Coroutines] Use allocator overload when available (authored by modocache, committed by ). Changed prior to commit: https://reviews.llvm.org/D42606?vs=134304&id=134495#toc Repository: rC Clan

[PATCH] D42606: [Coroutines] Use allocator overload when available

2018-02-15 Thread Brian Gesiak via Phabricator via cfe-commits
modocache added a comment. Hooray, `[dcl.fct.def.coroutine]/7` is *in!* Thank you for all the reviews, @GorNishanov! Repository: rC Clang https://reviews.llvm.org/D42606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.o

r325292 - Silence some -Wunused-variable warnings; NFC.

2018-02-15 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Thu Feb 15 12:56:19 2018 New Revision: 325292 URL: http://llvm.org/viewvc/llvm-project?rev=325292&view=rev Log: Silence some -Wunused-variable warnings; NFC. Modified: cfe/trunk/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp Modified: cfe/trunk/lib/StaticAnalyzer/Core/E

r325293 - Silence a -Wparentheses warning; NFC.

2018-02-15 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Thu Feb 15 13:03:39 2018 New Revision: 325293 URL: http://llvm.org/viewvc/llvm-project?rev=325293&view=rev Log: Silence a -Wparentheses warning; NFC. Modified: cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp Modified: cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp

[PATCH] D43322: Diagnose cases of "return x" that should be "return std::move(x)" for efficiency

2018-02-15 Thread Arthur O'Dwyer via Phabricator via cfe-commits
Quuxplusone marked an inline comment as done. Quuxplusone added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:23 +def warn_return_std_move : Warning< + "adding 'std::move' here would select a better conversion sequence">, + InGroup, DefaultIgnore;

[clang-tools-extra] r325298 - [include-fixer] Add more debug headers to the STL header list

2018-02-15 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Thu Feb 15 13:37:29 2018 New Revision: 325298 URL: http://llvm.org/viewvc/llvm-project?rev=325298&view=rev Log: [include-fixer] Add more debug headers to the STL header list These are used for std::map/std::set in STL debug mode. Modified: clang-tools-extra/trunk/include-f

[PATCH] D43281: [AMDGPU] fixes for lds f32 builtins

2018-02-15 Thread Daniil Fukalov via Phabricator via cfe-commits
dfukalov updated this revision to Diff 134503. dfukalov edited the summary of this revision. dfukalov added a comment. diff updated as requested by reviewer https://reviews.llvm.org/D43281 Files: include/clang/Basic/BuiltinsAMDGPU.def lib/CodeGen/CGBuiltin.cpp test/CodeGenOpenCL/builtins-

[PATCH] D43281: [AMDGPU] fixes for lds f32 builtins

2018-02-15 Thread Daniil Fukalov via Phabricator via cfe-commits
dfukalov marked an inline comment as done. dfukalov added inline comments. Comment at: lib/CodeGen/CGBuiltin.cpp:9866 + case AMDGPU::BI__builtin_amdgcn_ds_fmax: { +llvm::SmallVector Args; +for (unsigned I = 0; I != 5; ++I) b-sumner wrote: > Can the point

[PATCH] D41880: Adding nocf_check attribute for cf-protection fine tuning

2018-02-15 Thread Oren Ben Simhon via Phabricator via cfe-commits
oren_ben_simhon marked an inline comment as done. oren_ben_simhon added inline comments. Comment at: test/Sema/attr-nocf_check.c:18-20 + FuncPointerWithNoCfCheck fNoCfCheck = f; // no-warning + (*fNoCfCheck)(); // no-warning + f = fNoCfCheck;

[PATCH] D43184: [WIP] [ItaniunCXXABI] Add an option for loading the type info vtable with dllimport

2018-02-15 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added a comment. In https://reviews.llvm.org/D43184#1005534, @mstorsjo wrote: > In https://reviews.llvm.org/D43184#1005281, @smeenai wrote: > > > > > > A related observation on the topic of this: There's a subtle difference > between what both GCC and MSVC does here, compared to clang. The c

[PATCH] D43320: Allow dllimport non-type template arguments in C++17

2018-02-15 Thread Reid Kleckner via Phabricator via cfe-commits
rnk updated this revision to Diff 134510. rnk added a comment. - revise as discussed https://reviews.llvm.org/D43320 Files: clang/include/clang/AST/Expr.h clang/include/clang/Sema/Sema.h clang/lib/AST/ExprConstant.cpp clang/lib/Sema/SemaOverload.cpp clang/test/SemaCXX/dllimport-conste

[PATCH] D43312: [clang-format] fix handling of consecutive unary operators

2018-02-15 Thread Kevin Lee via Phabricator via cfe-commits
kevinl updated this revision to Diff 134511. kevinl edited the summary of this revision. kevinl added a comment. Simplified the heuristic logic, which extends the fix to TypeScript as well Repository: rC Clang https://reviews.llvm.org/D43312 Files: lib/Format/TokenAnnotator.cpp unittests

[PATCH] D43312: [clang-format] fix handling of consecutive unary operators

2018-02-15 Thread Kevin Lee via Phabricator via cfe-commits
kevinl added inline comments. Comment at: lib/Format/TokenAnnotator.cpp:1497 +!(PrevToken->is(tok::exclaim) && + Style.Language == FormatStyle::LK_JavaScript)) // There aren't any trailing unary operators except for TypeScript's krasimir w

r325302 - [OPENMP] Fix PR38398: compiler crash on standalone pragma ordered with depend sink|source clause.

2018-02-15 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Thu Feb 15 14:42:57 2018 New Revision: 325302 URL: http://llvm.org/viewvc/llvm-project?rev=325302&view=rev Log: [OPENMP] Fix PR38398: compiler crash on standalone pragma ordered with depend sink|source clause. Patch fixes compiler crash on standalone #pragmas ordered with d

[PATCH] D43322: Diagnose cases of "return x" that should be "return std::move(x)" for efficiency

2018-02-15 Thread Arthur O'Dwyer via Phabricator via cfe-commits
Quuxplusone updated this revision to Diff 134514. Quuxplusone added a comment. Reword the diagnostic per rsmith's suggestions. Still TODO: - figure out how to detect whether this is a return-stmt or throw-expression - figure out how to generate the appropriate fixit Repository: rC Clang http

[PATCH] D43357: Function trailing requires clauses now parsed, supported in overload resolution and when calling, referencing and taking the address of functions or function templates.Does not directl

2018-02-15 Thread Saar Raz via Phabricator via cfe-commits
saar.raz created this revision. saar.raz added reviewers: nwilson, hubert.reinterpretcast, changyu, rsmith, faisalv, Quuxplusone. Herald added a subscriber: cfe-commits. Depends on https://reviews.llvm.org/D41910. Repository: rC Clang https://reviews.llvm.org/D43357 Files: include/clang/A

[PATCH] D43359: Clean up 'target' attribute diagnostics

2018-02-15 Thread Erich Keane via Phabricator via cfe-commits
erichkeane created this revision. erichkeane added reviewers: echristo, aaron.ballman. There were a few issues previously with the target attribute diagnostics implementation that lead to the attribute being added to the AST despite having an error in it. This patch changes that, and adds a test

[PATCH] D43359: Clean up 'target' attribute diagnostics

2018-02-15 Thread Eric Christopher via Phabricator via cfe-commits
echristo accepted this revision. echristo added a comment. This revision is now accepted and ready to land. Seems ok here. https://reviews.llvm.org/D43359 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/

[PATCH] D43359: Clean up 'target' attribute diagnostics

2018-02-15 Thread Erich Keane via Phabricator via cfe-commits
erichkeane added a comment. Thanks! I'll give @aaron.ballman a chance to take a look, so I'll probably do something about this tomorrow. https://reviews.llvm.org/D43359 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/

[PATCH] D43362: Simplify setting dso_local. NFC.

2018-02-15 Thread Rafael Avila de Espindola via Phabricator via cfe-commits
espindola created this revision. espindola added a reviewer: rnk. The value of dso_local can be computed from just IR properties and global information (object file type, command line options, etc). With this patch we no longer pass in the Decl. It was almost unused and making it fully unused g

r325304 - [OPENMP] Fix PR36399: Crash on C code with ordered doacross construct.

2018-02-15 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Thu Feb 15 15:39:43 2018 New Revision: 325304 URL: http://llvm.org/viewvc/llvm-project?rev=325304&view=rev Log: [OPENMP] Fix PR36399: Crash on C code with ordered doacross construct. Codegen for ordered with doacross construct might produce incorrect code because of missing

[PATCH] D43248: [Attr] Fix printing of parameter indices in attributes

2018-02-15 Thread Joel E. Denny via Phabricator via cfe-commits
jdenny marked 3 inline comments as done. jdenny added a comment. Comment at: include/clang/Basic/Attr.td:182 + // it would always be false. + string DisallowImplicitThisParamName = disallowImplicitThisParamName; +} jdenny wrote: > aaron.ballman wrote: > > Is

r325305 - [Modules] Extend -fmodule-name semantic for frameworks with private modules

2018-02-15 Thread Bruno Cardoso Lopes via cfe-commits
Author: bruno Date: Thu Feb 15 16:12:57 2018 New Revision: 325305 URL: http://llvm.org/viewvc/llvm-project?rev=325305&view=rev Log: [Modules] Extend -fmodule-name semantic for frameworks with private modules Assume Foo.framework with two module maps and two modules Foo and Foo_Private. Framework

[PATCH] D41888: [DOXYGEN] documentation changes to emmintrin.h and tmmintrin.h

2018-02-15 Thread Katya Romanova via Phabricator via cfe-commits
kromanova updated this revision to Diff 134537. kromanova added a comment. Doug Yung (the reviewer for this patch) noticed that some lines exceed 80 characters limitation. I fixed that. https://reviews.llvm.org/D41888 Files: lib/Headers/emmintrin.h lib/Headers/tmmintrin.h Index: lib/Heade

[PATCH] D41888: [DOXYGEN] documentation changes to emmintrin.h and tmmintrin.h

2018-02-15 Thread Douglas Yung via Phabricator via cfe-commits
dyung accepted this revision. dyung added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D41888 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[PATCH] D41102: Setup clang-doc frontend framework

2018-02-15 Thread Julie Hockett via Phabricator via cfe-commits
juliehockett updated this revision to Diff 134544. juliehockett edited the summary of this revision. juliehockett added a comment. Updating tests and moving the bitcode reader out (to the next patch) https://reviews.llvm.org/D41102 Files: CMakeLists.txt clang-doc/CMakeLists.txt clang-doc/

[PATCH] D43341: [clang-doc] Implement reducer portion of the frontend framework

2018-02-15 Thread Julie Hockett via Phabricator via cfe-commits
juliehockett updated this revision to Diff 134546. juliehockett edited the summary of this revision. juliehockett added a comment. Moving the entire implementation of the bitcode reader to this patch (from the mapper patch, here ) and cleaning up implementation

[PATCH] D43320: Allow dllimport non-type template arguments in C++17

2018-02-15 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith added inline comments. Comment at: clang/include/clang/AST/Expr.h:103 +/// Contexts in which a converted constant expression is required. +enum CCEKind { + CCEK_CaseValue, ///< Expression in a case label. If we end up moving this out of `Sema` into the

[PATCH] D41888: [DOXYGEN] documentation changes to emmintrin.h and tmmintrin.h

2018-02-15 Thread Katya Romanova via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL325312: [DOXYGEN] There was a request in the review D41507 to change the notation for… (authored by kromanova, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://r

r325312 - [DOXYGEN] There was a request in the review D41507 to change the notation for hex numbers in doxygen documentation from <...>h to 0x<...>. Both of these notations were used in x86 intrinsics

2018-02-15 Thread Ekaterina Romanova via cfe-commits
Author: kromanova Date: Thu Feb 15 19:11:35 2018 New Revision: 325312 URL: http://llvm.org/viewvc/llvm-project?rev=325312&view=rev Log: [DOXYGEN] There was a request in the review D41507 to change the notation for hex numbers in doxygen documentation from <...>h to 0x<...>. Both of these notatio

[PATCH] D38639: [clangd] #include statements support for Open definition

2018-02-15 Thread Marc-Andre Laperle via Phabricator via cfe-commits
malaperle updated this revision to Diff 134549. malaperle added a comment. Change some EXPECT_TRUE to ASSERT_TRUE Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D38639 Files: clangd/ClangdUnit.cpp clangd/ClangdUnit.h clangd/Protocol.h clangd/SourceCode.cpp clangd/Sourc

[PATCH] D43277: limits: Use `false` instead of `type(0)`.

2018-02-15 Thread Bruce Mitchener via Phabricator via cfe-commits
brucem added a comment. Herald added a subscriber: christof. Without this, anyone using `clang-tidy` with this check gets 6 system header warnings whenever they transitively have included `limits`. Repository: rCXX libc++ https://reviews.llvm.org/D43277 ___

[PATCH] D43226: __threading_support: Remove (void) in favor of ().

2018-02-15 Thread Bruce Mitchener via Phabricator via cfe-commits
brucem added a comment. This is `modernize-redundant-void-arg`: https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html Repository: rCXX libc++ https://reviews.llvm.org/D43226 ___ cfe-commits mailing list cfe-commits@lis

[PATCH] D36702: Make Parser::Consume*Token methods public.

2018-02-15 Thread Frederich Munch via Phabricator via cfe-commits
marsupial added a comment. Ping. https://reviews.llvm.org/D36702 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D36701: Use Token::isOneOf method in Parser.

2018-02-15 Thread Frederich Munch via Phabricator via cfe-commits
marsupial added a comment. Ping. https://reviews.llvm.org/D36701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D36701: Use Token::isOneOf method in Parser.

2018-02-15 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff accepted this revision. sepavloff added a comment. This revision is now accepted and ready to land. LGTM https://reviews.llvm.org/D36701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo

[PATCH] D42995: [ThinLTO] Allow indexing to request backend to ignore the module

2018-02-15 Thread Teresa Johnson via Phabricator via cfe-commits
tejohnson added inline comments. Comment at: clang/lib/CodeGen/BackendUtil.cpp:1176 + // Output of this module is not needed, but build system may not know + // that. So we need to generated empty valid object file. + EmptyModule = llvm::make_unique("empty", M->get

[PATCH] D43184: [WIP] [ItaniunCXXABI] Add an option for loading the type info vtable with dllimport

2018-02-15 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo added a comment. In https://reviews.llvm.org/D43184#1009355, @rnk wrote: > The Qt bug is interesting, but I think we're doing the right thing here. C++ > doesn't define any semantics for partially initialized objects. It's unclear > if clang or GCC's way of doing things is better or no

[PATCH] D43371: [clang-include-fixer] Use add_clang_tool instead add_clang_executable

2018-02-15 Thread Petr Hosek via Phabricator via cfe-commits
phosek created this revision. phosek added reviewers: klimek, sammccall, bkramer, hokein. Herald added subscribers: cfe-commits, mgorny. This makes it possible to include clang-include-fixer as distribution component when building Clang based toolchain using CMake. Repository: rCTE Clang Tools

[PATCH] D42776: [Sema] Fix an assertion failure in constant expression evaluation of calls to functions with default arguments

2018-02-15 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak updated this revision to Diff 134560. ahatanak marked 3 inline comments as done. ahatanak added a comment. Address review comments. https://reviews.llvm.org/D42776 Files: include/clang/AST/APValue.h lib/AST/APValue.cpp lib/AST/ExprConstant.cpp test/SemaCXX/constexpr-default-arg

[PATCH] D42776: [Sema] Fix an assertion failure in constant expression evaluation of calls to functions with default arguments

2018-02-15 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak added inline comments. Comment at: lib/AST/ExprConstant.cpp:589-598 +/// Keep track of the version of MTEs that are used by CXXDefaultArgExpr. +/// The version number is updated every time VisitCXXDefaultArgExpr is +/// called. +unsigned getDefaultArgNum(

<    1   2