[PATCH] D25308: [Sema] Ignore transparent_union attributes in C++

2016-10-06 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added reviewers: rnk, aaron.ballman. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. While working on fixing PR30520 yesterday I noticed that clang also crashes on code like this: template union u {

[PATCH] D25321: Fix PR13910: Don't warn that __builtin_unreachable() is unreachable

2016-10-06 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added reviewers: dblaikie, krememek. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch fixes the issue of clang emitting an unreachable warning when it encounters unreachable `__builtin_unreachab

[PATCH] D25321: Fix PR13910: Don't warn that __builtin_unreachable() is unreachable

2016-10-06 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 73781. arphaman added a comment. Slight update: There's no need to pass `CFGBlock` into `isBuiltinUnreachable`. Repository: rL LLVM https://reviews.llvm.org/D25321 Files: lib/Analysis/ReachableCode.cpp test/Sema/warn-unreachable.c Index: test/Sema

[PATCH] D24932: Fix PR 30440

2016-10-06 Thread Alex Lorenz via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283428: Fix PR30440: Initialize FunctionTypeDepth in CXXNameMangler (authored by arphaman). Changed prior to commit: https://reviews.llvm.org/D24932?vs=72526&id=73787#toc Repository: rL LLVM https:/

[PATCH] D25273: Fix PR30520: Fix incomplete type crash when dealing with transparent_union attribute

2016-10-06 Thread Alex Lorenz via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283432: [Sema] Fix PR30520: Handle incomplete field types in transparent_union unions (authored by arphaman). Changed prior to commit: https://reviews.llvm.org/D25273?vs=73626&id=73789#toc Repository:

[PATCH] D25321: Fix PR13910: Don't warn that __builtin_unreachable() is unreachable

2016-10-07 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 73898. arphaman marked an inline comment as done. arphaman added a comment. The updated patch uses Adrian's suggestion. Repository: rL LLVM https://reviews.llvm.org/D25321 Files: lib/Analysis/ReachableCode.cpp test/Sema/warn-unreachable.c Index: t

[PATCH] D25308: [Sema] Ignore transparent_union attributes in C++

2016-10-10 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 74127. arphaman marked an inline comment as done. arphaman added a comment. The updated patch uses a proper way to mark the attribute as C only. Repository: rL LLVM https://reviews.llvm.org/D25308 Files: include/clang/Basic/Attr.td test/SemaCXX/attr

[PATCH] D25308: [Sema] Ignore transparent_union attributes in C++

2016-10-10 Thread Alex Lorenz via cfe-commits
arphaman added a comment. The updated patch now makes clang warn every time it encounters this attribute in C++ mode. Would that be the desired behaviour? Repository: rL LLVM https://reviews.llvm.org/D25308 ___ cfe-commits mailing list cfe-commi

[PATCH] D25436: [CodeCompletion] Improve completion for properties declared in Objective-C protocols

2016-10-10 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added reviewers: manmanren, doug.gregor. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch improves code completion for properties that are declared in Objective-C protocols by making sure that p

[PATCH] D25308: [Sema] Ignore transparent_union attributes in C++

2016-10-11 Thread Alex Lorenz via cfe-commits
arphaman added a comment. Thanks! Comment at: include/clang/Basic/Attr.td:1545 // let Subjects = SubjectList<[Record, TypedefName]>; let Documentation = [Undocumented]; + let LangOpts = [COnly]; aaron.ballman wrote: > If you, or anyone else, is bored, it

[PATCH] D25436: [CodeCompletion] Improve completion for properties declared in Objective-C protocols

2016-10-11 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 74227. arphaman marked an inline comment as done. arphaman added a comment. The updated patch handles protocol properties together with the interface properties. Repository: rL LLVM https://reviews.llvm.org/D25436 Files: lib/Sema/SemaCodeComplete.cpp

[PATCH] D25436: [CodeCompletion] Improve completion for properties declared in Objective-C protocols

2016-10-11 Thread Alex Lorenz via cfe-commits
arphaman added inline comments. Comment at: lib/Sema/SemaCodeComplete.cpp:3723 } } else if (!IsArrow && BaseType->getAsObjCInterfacePointerType()) { // Objective-C property reference. manmanren wrote: > I feel like the added logic belongs to here :]

r283995 - [Sema] Handle transparent_union attributes in C mode only

2016-10-12 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Oct 12 04:36:35 2016 New Revision: 283995 URL: http://llvm.org/viewvc/llvm-project?rev=283995&view=rev Log: [Sema] Handle transparent_union attributes in C mode only This commit marks the transparent_union attributes as C only because clang doesn't support them in C++ m

[PATCH] D25308: [Sema] Ignore transparent_union attributes in C++

2016-10-12 Thread Alex Lorenz via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL283995: [Sema] Handle transparent_union attributes in C mode only (authored by arphaman). Changed prior to commit: https://reviews.llvm.org/D25308?vs=74127&id=74350#toc Repository: rL LLVM https://r

r284007 - [CodeCompletion] Show protocol properties that are accessed through qualified id

2016-10-12 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Oct 12 06:40:15 2016 New Revision: 284007 URL: http://llvm.org/viewvc/llvm-project?rev=284007&view=rev Log: [CodeCompletion] Show protocol properties that are accessed through qualified id This commit improves code completion for properties that are declared in Objectiv

[PATCH] D25436: [CodeCompletion] Improve completion for properties declared in Objective-C protocols

2016-10-12 Thread Alex Lorenz via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL284007: [CodeCompletion] Show protocol properties that are accessed through qualified id (authored by arphaman). Changed prior to commit: https://reviews.llvm.org/D25436?vs=74227&id=74364#toc Repositor

r284019 - NFC: CodeCompletionResult's constructor should take const NamedDecl

2016-10-12 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Oct 12 10:33:35 2016 New Revision: 284019 URL: http://llvm.org/viewvc/llvm-project?rev=284019&view=rev Log: NFC: CodeCompletionResult's constructor should take const NamedDecl CodeCompletionResult's Declaration field is a const pointer to the NamedDecl, and thus the con

[PATCH] D25519: [CodeCompletion] Refactor: Extract two Objective-C block formatting related functions from FormatFunctionParameter

2016-10-12 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added a reviewer: manmanren. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch extracts two new functions from the function `FormatFunctionParameter` that are related to Objective-C block formatt

[PATCH] D25520: [CodeCompletion] Add block placeholders when completing member access for Objective-C block property setters

2016-10-12 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added reviewers: manmanren, doug.gregor. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch depends on https://reviews.llvm.org/D25519. This patch changes the way that Objective-C block properties

[PATCH] D25539: [Coverage] Support for C++17 switch initializers

2016-10-13 Thread Alex Lorenz via cfe-commits
arphaman added a comment. > I'm unsure about whether or not the CodeGenPGO change in this patch deserves > more testing. It wouldn't harm to add a test for CodeGenPGO as well. A good test that you can as a starting point for the new one is `test/Profile/cxx-rangefor.cpp`. A single `PGOGEN` che

[PATCH] D25520: [CodeCompletion] Add block placeholders when completing member access for Objective-C block property setters

2016-10-13 Thread Alex Lorenz via cfe-commits
arphaman added a comment. In https://reviews.llvm.org/D25520#568448, @akyrtzi wrote: > What if the user just wants to invoke the block, this is as common or more, > like: > > `self.onEventHandler(10)` > > The assign literal completion is useful but it should be an additional entry > (with maybe

[PATCH] D25519: [CodeCompletion] Refactor: Extract two Objective-C block formatting related functions from FormatFunctionParameter

2016-10-13 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 74520. arphaman marked 2 inline comments as done. arphaman added a comment. The updated patch has comments for the two extracted functions. Repository: rL LLVM https://reviews.llvm.org/D25519 Files: lib/Sema/SemaCodeComplete.cpp Index: lib/Sema/SemaC

[PATCH] D25520: [CodeCompletion] Add block placeholders when completing member access for Objective-C block property setters

2016-10-13 Thread Alex Lorenz via cfe-commits
arphaman updated this revision to Diff 74528. arphaman added a comment. The updated patch now treats the block property setter completion as a completion result that's additional to the default property completion result. Repository: rL LLVM https://reviews.llvm.org/D25520 Files: include/

[PATCH] D25520: [CodeCompletion] Add block placeholders when completing member access for Objective-C block property setters

2016-10-13 Thread Alex Lorenz via cfe-commits
arphaman added a comment. Right now I gave the setter completion a flat priority bump of 3. Should something different be used? What do you think of the following possible priority heuristic: when completing blocks properties that return `void` the default property completion result should show

r319702 - [libclang] Record parsing invocation to a temporary file when requested

2017-12-04 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Dec 4 13:56:36 2017 New Revision: 319702 URL: http://llvm.org/viewvc/llvm-project?rev=319702&view=rev Log: [libclang] Record parsing invocation to a temporary file when requested by client This patch extends libclang by allowing it to record parsing operations to a tem

r319715 - Fix record-parsing-invocation.c test on Windows

2017-12-04 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Dec 4 15:21:07 2017 New Revision: 319715 URL: http://llvm.org/viewvc/llvm-project?rev=319715&view=rev Log: Fix record-parsing-invocation.c test on Windows We should not check for the forward slash '/' Modified: cfe/trunk/test/Index/record-parsing-invocation.c Mod

r319729 - [libclang] Store unsaved file hashes when recording parsing invocations

2017-12-04 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Dec 4 18:30:43 2017 New Revision: 319729 URL: http://llvm.org/viewvc/llvm-project?rev=319729&view=rev Log: [libclang] Store unsaved file hashes when recording parsing invocations Storing the contents of unsaved files is too expensive. Instead a hash is stored with a re

r319836 - Fix one more record-parsing-invocation.c test issue on Windows

2017-12-05 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Dec 5 13:33:05 2017 New Revision: 319836 URL: http://llvm.org/viewvc/llvm-project?rev=319836&view=rev Log: Fix one more record-parsing-invocation.c test issue on Windows Lit's env should be used before not. Sean Eveson pointed out the right solution. Thanks! Modified

r320073 - [driver] Set the 'simulator' environment for Darwin when compiling for

2017-12-07 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Dec 7 11:04:10 2017 New Revision: 320073 URL: http://llvm.org/viewvc/llvm-project?rev=320073&view=rev Log: [driver] Set the 'simulator' environment for Darwin when compiling for iOS/tvOS/watchOS simulator rdar://35135215 Differential Revision: https://reviews.llvm.org

r320085 - [libclang] Record code-completion invocations to a temporary file when

2017-12-07 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Dec 7 12:37:50 2017 New Revision: 320085 URL: http://llvm.org/viewvc/llvm-project?rev=320085&view=rev Log: [libclang] Record code-completion invocations to a temporary file when requested by client This is a follow up to r319702 which records parsing invocations. Thes

r320235 - [driver][darwin] Refactor the target selection code, NFC

2017-12-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Dec 8 18:27:11 2017 New Revision: 320235 URL: http://llvm.org/viewvc/llvm-project?rev=320235&view=rev Log: [driver][darwin] Refactor the target selection code, NFC The simulator variant of Darwin's platforms is removed in favor of a new environment field. The code that

r320238 - Fix Driver/darwin-version.c test

2017-12-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Dec 8 18:56:48 2017 New Revision: 320238 URL: http://llvm.org/viewvc/llvm-project?rev=320238&view=rev Log: Fix Driver/darwin-version.c test A target argument should be provided to avoid failures on non-Darwin Modified: cfe/trunk/test/Driver/darwin-version.c Modif

[clang] c68f247 - [clang-scan-deps] ignore top-level module dependencies that aren't actually imported

2021-07-20 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-20T11:11:28-07:00 New Revision: c68f247275eed94a4f4b97ad53b4d599acfd181a URL: https://github.com/llvm/llvm-project/commit/c68f247275eed94a4f4b97ad53b4d599acfd181a DIFF: https://github.com/llvm/llvm-project/commit/c68f247275eed94a4f4b97ad53b4d599acfd181a.diff L

[clang] a8262a3 - [clang][darwin] add support for Mac Catalyst availability

2021-07-20 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-20T12:51:57-07:00 New Revision: a8262a383bc627cef3de78e60bbbedb788157a50 URL: https://github.com/llvm/llvm-project/commit/a8262a383bc627cef3de78e60bbbedb788157a50 DIFF: https://github.com/llvm/llvm-project/commit/a8262a383bc627cef3de78e60bbbedb788157a50.diff L

[clang] 05a6d74 - [clang] NFC, move DarwinSDKInfo to lib/Basic

2021-07-20 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-20T13:22:48-07:00 New Revision: 05a6d74c4845221907e25971937242b72489ef55 URL: https://github.com/llvm/llvm-project/commit/05a6d74c4845221907e25971937242b72489ef55 DIFF: https://github.com/llvm/llvm-project/commit/05a6d74c4845221907e25971937242b72489ef55.diff L

[clang] 808bbc2 - [clang][darwin] Add support for macOS -> Mac Catalyst

2021-07-20 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-20T14:25:33-07:00 New Revision: 808bbc2c47028ff5c2cc0bf7a1d5140adec9202a URL: https://github.com/llvm/llvm-project/commit/808bbc2c47028ff5c2cc0bf7a1d5140adec9202a DIFF: https://github.com/llvm/llvm-project/commit/808bbc2c47028ff5c2cc0bf7a1d5140adec9202a.diff L

[clang] 5f55761 - [clang] Fix the capitalization of the DarwinSDKInfoTest unittest filename to avoid case-sensitive FS build errors

2021-07-20 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-20T14:53:08-07:00 New Revision: 5f557616c6b13adbe244b3583459a926628c3466 URL: https://github.com/llvm/llvm-project/commit/5f557616c6b13adbe244b3583459a926628c3466 DIFF: https://github.com/llvm/llvm-project/commit/5f557616c6b13adbe244b3583459a926628c3466.diff L

[clang] eb26ba9 - [clang][darwin] add support for remapping macOS availability to Mac Catalyst availability

2021-07-21 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-21T11:32:25-07:00 New Revision: eb26ba9da8aeab8ecc1209034912f9f12a945128 URL: https://github.com/llvm/llvm-project/commit/eb26ba9da8aeab8ecc1209034912f9f12a945128 DIFF: https://github.com/llvm/llvm-project/commit/eb26ba9da8aeab8ecc1209034912f9f12a945128.diff L

[clang] 9643d11 - [clang][sema] NFC, include DarwinSDKInfo header instead of using the forward reference

2021-07-21 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-21T12:46:52-07:00 New Revision: 9643d11e1d7f918c0e5184c9488935720d591c90 URL: https://github.com/llvm/llvm-project/commit/9643d11e1d7f918c0e5184c9488935720d591c90 DIFF: https://github.com/llvm/llvm-project/commit/9643d11e1d7f918c0e5184c9488935720d591c90.diff L

[clang] 2542c1a - [clang][driver][darwin] Add driver support for Mac Catalyst

2021-07-22 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-22T10:20:19-07:00 New Revision: 2542c1a5a1306398d73c3c0c5d71cacf7c690093 URL: https://github.com/llvm/llvm-project/commit/2542c1a5a1306398d73c3c0c5d71cacf7c690093 DIFF: https://github.com/llvm/llvm-project/commit/2542c1a5a1306398d73c3c0c5d71cacf7c690093.diff L

[clang] 40d2d0c - [clang][test] Add -fuse-ld= to test case added in 2542c1a5a130 to resolve test failure with CLANG_DEFAULT_LINKER=lld

2021-07-22 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-07-22T11:12:38-07:00 New Revision: 40d2d0c41298f1d8a178216e2534b29e3128cf37 URL: https://github.com/llvm/llvm-project/commit/40d2d0c41298f1d8a178216e2534b29e3128cf37 DIFF: https://github.com/llvm/llvm-project/commit/40d2d0c41298f1d8a178216e2534b29e3128cf37.diff L

[clang] b58bf76 - [clang][driver] update the darwin driver to point to correct macho_embedded path

2022-02-07 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-02-07T16:50:58-08:00 New Revision: b58bf76f97f4bffe91bcf673dcc1231c0cfc0921 URL: https://github.com/llvm/llvm-project/commit/b58bf76f97f4bffe91bcf673dcc1231c0cfc0921 DIFF: https://github.com/llvm/llvm-project/commit/b58bf76f97f4bffe91bcf673dcc1231c0cfc0921.diff L

[clang] 0d9b915 - [Preprocessor] Reduce the memory overhead of `#define` directives

2022-02-11 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-02-11T15:01:10-08:00 New Revision: 0d9b91524ea4db3760791bba15773c386a26d8ec URL: https://github.com/llvm/llvm-project/commit/0d9b91524ea4db3760791bba15773c386a26d8ec DIFF: https://github.com/llvm/llvm-project/commit/0d9b91524ea4db3760791bba15773c386a26d8ec.diff L

[clang] 3f05192 - Revert "[Preprocessor] Reduce the memory overhead of `#define` directives"

2022-02-11 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-02-11T15:53:16-08:00 New Revision: 3f05192c4c40bc79b1db431a7a36baaa9491eebb URL: https://github.com/llvm/llvm-project/commit/3f05192c4c40bc79b1db431a7a36baaa9491eebb DIFF: https://github.com/llvm/llvm-project/commit/3f05192c4c40bc79b1db431a7a36baaa9491eebb.diff L

[clang] 00cd6c0 - [Preprocessor] Reduce the memory overhead of `#define` directives (Recommit)

2022-02-14 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-02-14T09:27:44-08:00 New Revision: 00cd6c04202acf71f74c670b2dd4343929d1f45f URL: https://github.com/llvm/llvm-project/commit/00cd6c04202acf71f74c670b2dd4343929d1f45f DIFF: https://github.com/llvm/llvm-project/commit/00cd6c04202acf71f74c670b2dd4343929d1f45f.diff L

[clang] d238acd - [clang][driver] add clang driver support for emitting macho files with two build version load commands

2022-02-14 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-02-14T12:27:14-08:00 New Revision: d238acd1131ec2670acf5cf47b89069ca6c2e86c URL: https://github.com/llvm/llvm-project/commit/d238acd1131ec2670acf5cf47b89069ca6c2e86c DIFF: https://github.com/llvm/llvm-project/commit/d238acd1131ec2670acf5cf47b89069ca6c2e86c.diff L

[clang] 688622f - [clang][test] Add -fuse-ld= to test cases added in d238acd1131ec2670acf5cf47b89069ca6c2e86c to resolve test failure with CLANG_DEFAULT_LINKER=lld

2022-02-14 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-02-14T13:21:39-08:00 New Revision: 688622ff607ca1b15e76f9b4f6216f78dd22fab2 URL: https://github.com/llvm/llvm-project/commit/688622ff607ca1b15e76f9b4f6216f78dd22fab2 DIFF: https://github.com/llvm/llvm-project/commit/688622ff607ca1b15e76f9b4f6216f78dd22fab2.diff L

[clang] ee85240 - [libclang] add supporting for indexing/visiting C++ concepts

2022-05-24 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-05-24T10:02:53-07:00 New Revision: ee8524087c78a673fcf5486ded69ee597a85e0f1 URL: https://github.com/llvm/llvm-project/commit/ee8524087c78a673fcf5486ded69ee597a85e0f1 DIFF: https://github.com/llvm/llvm-project/commit/ee8524087c78a673fcf5486ded69ee597a85e0f1.diff L

r369585 - NFCI: Simplify SourceManager::translateFile by removing code path that should never be taken

2019-08-21 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Aug 21 14:37:09 2019 New Revision: 369585 URL: http://llvm.org/viewvc/llvm-project?rev=369585&view=rev Log: NFCI: Simplify SourceManager::translateFile by removing code path that should never be taken I noticed that SourceManager::translateFile has code that doesn't re

r369680 - Introduce FileEntryRef and use it when handling includes to report correct dependencies

2019-08-22 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 22 11:15:50 2019 New Revision: 369680 URL: http://llvm.org/viewvc/llvm-project?rev=369680&view=rev Log: Introduce FileEntryRef and use it when handling includes to report correct dependencies when the FileManager is reused across invocations This commit introduces

r369688 - Disable the ScanDepsReuseFilemanager test on Windows

2019-08-22 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 22 12:00:08 2019 New Revision: 369688 URL: http://llvm.org/viewvc/llvm-project?rev=369688&view=rev Log: Disable the ScanDepsReuseFilemanager test on Windows Right now it fails. I'm going to investigate it and fix it in follow-up commits. Modified: cfe/trunk/uni

r369832 - Re-enable DependencyScannerTest on windows with the right fixes

2019-08-23 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Aug 23 18:53:40 2019 New Revision: 369832 URL: http://llvm.org/viewvc/llvm-project?rev=369832&view=rev Log: Re-enable DependencyScannerTest on windows with the right fixes It should now pass. Modified: cfe/trunk/unittests/Tooling/DependencyScannerTest.cpp Modified

r369938 - [driver] add a new option `-gen-cdb-fragment-path` to emit

2019-08-26 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 26 10:59:41 2019 New Revision: 369938 URL: http://llvm.org/viewvc/llvm-project?rev=369938&view=rev Log: [driver] add a new option `-gen-cdb-fragment-path` to emit a fragment of a compilation database for each compilation This patch adds a new option called -gen-cdb-

r369956 - Fix gen-cdb-fragment test for Windows

2019-08-26 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 26 13:02:40 2019 New Revision: 369956 URL: http://llvm.org/viewvc/llvm-project?rev=369956&view=rev Log: Fix gen-cdb-fragment test for Windows Windows bots didn't seem to like the empty argument, so I rewrote the test. Modified: cfe/trunk/test/Driver/gen-cdb-fra

[clang-tools-extra] r369998 - Use FileEntryRef for PPCallbacks::FileSkipped

2019-08-26 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 26 18:03:25 2019 New Revision: 369998 URL: http://llvm.org/viewvc/llvm-project?rev=369998&view=rev Log: Use FileEntryRef for PPCallbacks::FileSkipped This fixes the issue where a filename dependendency was missing if the file that was skipped was included through a

r369998 - Use FileEntryRef for PPCallbacks::FileSkipped

2019-08-26 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 26 18:03:25 2019 New Revision: 369998 URL: http://llvm.org/viewvc/llvm-project?rev=369998&view=rev Log: Use FileEntryRef for PPCallbacks::FileSkipped This fixes the issue where a filename dependendency was missing if the file that was skipped was included through a

[clang-tools-extra] r370004 - Fix clangd's IndexAction for FileSkipped API update

2019-08-26 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 26 18:36:00 2019 New Revision: 370004 URL: http://llvm.org/viewvc/llvm-project?rev=370004&view=rev Log: Fix clangd's IndexAction for FileSkipped API update Modified: clang-tools-extra/trunk/clangd/index/IndexAction.cpp Modified: clang-tools-extra/trunk/clangd/i

r370081 - Use FileEntryRef for PPCallbacks::HasInclude

2019-08-27 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 27 10:32:42 2019 New Revision: 370081 URL: http://llvm.org/viewvc/llvm-project?rev=370081&view=rev Log: Use FileEntryRef for PPCallbacks::HasInclude This fixes the issue where a filename dependendency was missing if the file that was referenced with __has_include()

[clang-tools-extra] r370081 - Use FileEntryRef for PPCallbacks::HasInclude

2019-08-27 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 27 10:32:42 2019 New Revision: 370081 URL: http://llvm.org/viewvc/llvm-project?rev=370081&view=rev Log: Use FileEntryRef for PPCallbacks::HasInclude This fixes the issue where a filename dependendency was missing if the file that was referenced with __has_include()

r370093 - [driver][xray] fix the macOS support checker by supporting -macos

2019-08-27 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 27 11:26:36 2019 New Revision: 370093 URL: http://llvm.org/viewvc/llvm-project?rev=370093&view=rev Log: [driver][xray] fix the macOS support checker by supporting -macos triple in addition to -darwin The previous check incorrectly checked for macOS support by allowi

[clang-tools-extra] r370096 - Remove clang-tidy-vs from clang-tools-extra (PR41791)

2019-08-27 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 27 11:36:08 2019 New Revision: 370096 URL: http://llvm.org/viewvc/llvm-project?rev=370096&view=rev Log: Remove clang-tidy-vs from clang-tools-extra (PR41791) The clang-tidy-vs visual studio plugin in clang-tools-extra contains a security vulnerability in the YamlDot

r370420 - [clang-scan-deps] reuse the file manager across invocations of

2019-08-29 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 29 15:56:38 2019 New Revision: 370420 URL: http://llvm.org/viewvc/llvm-project?rev=370420&view=rev Log: [clang-scan-deps] reuse the file manager across invocations of the dependency scanner on a single worker thread This behavior can be controlled using the new `-re

r370425 - [clang-scan-deps] NFC, refactor the DependencyScanningWorker to use a consumer

2019-08-29 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 29 18:25:57 2019 New Revision: 370425 URL: http://llvm.org/viewvc/llvm-project?rev=370425&view=rev Log: [clang-scan-deps] NFC, refactor the DependencyScanningWorker to use a consumer to report the dependencies to the client This will allow the scanner to report modu

r370493 - [clang-scan-deps] NFC, remove outdated implementation comment

2019-08-30 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Aug 30 10:34:22 2019 New Revision: 370493 URL: http://llvm.org/viewvc/llvm-project?rev=370493&view=rev Log: [clang-scan-deps] NFC, remove outdated implementation comment There's no need to purge symlinked entries in the FileManager, as the new FileEntryRef API allows us

r370562 - Introduce a DirectoryEntryRef that stores both a reference and an

2019-08-30 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Aug 30 18:26:04 2019 New Revision: 370562 URL: http://llvm.org/viewvc/llvm-project?rev=370562&view=rev Log: Introduce a DirectoryEntryRef that stores both a reference and an accessed name to the directory entry This commit introduces a parallel API that returns a Direct

r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-07-28 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Jul 28 07:41:21 2017 New Revision: 309386 URL: http://llvm.org/viewvc/llvm-project?rev=309386&view=rev Log: Recommit r308327 3rd time: Add a warning for missing '#pragma pack (pop)' and suspicious uses of '#pragma pack' in included files The second recommit (r309106) wa

r309559 - -Wpragma-pack: add an additional note and fixit when warning

2017-07-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Jul 31 06:37:50 2017 New Revision: 309559 URL: http://llvm.org/viewvc/llvm-project?rev=309559&view=rev Log: -Wpragma-pack: add an additional note and fixit when warning about unterminated push directives that are followed by a reset ('#pragma pack()') This has been sugg

r309562 - Document '-Wpragma-pack' in the release notes

2017-07-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Jul 31 07:08:41 2017 New Revision: 309562 URL: http://llvm.org/viewvc/llvm-project?rev=309562&view=rev Log: Document '-Wpragma-pack' in the release notes Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: cfe/trunk/docs/ReleaseNotes.rst URL: http://llvm.org/viewv

r309564 - Fix release notes indentation from r309562

2017-07-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Jul 31 07:22:43 2017 New Revision: 309564 URL: http://llvm.org/viewvc/llvm-project?rev=309564&view=rev Log: Fix release notes indentation from r309562 The additions in r309562 triggered a docs buildbot failure. Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: c

r309813 - [rename] NFC, extract symbol canonicalization logic into function

2017-08-02 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Aug 2 07:15:27 2017 New Revision: 309813 URL: http://llvm.org/viewvc/llvm-project?rev=309813&view=rev Log: [rename] NFC, extract symbol canonicalization logic into function This function will be used by the clang-refactor's rename actions Modified: cfe/trunk/inclu

r310345 - Revert r310291, r310300 and r310332 because of test failure on Darwin

2017-08-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 8 04:20:17 2017 New Revision: 310345 URL: http://llvm.org/viewvc/llvm-project?rev=310345&view=rev Log: Revert r310291, r310300 and r310332 because of test failure on Darwin The commit r310291 introduced the failure. r310332 was a test fix commit and r310300 was a f

r310347 - Darwin's toolchain should be initialized before openmp offloading

2017-08-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 8 04:22:21 2017 New Revision: 310347 URL: http://llvm.org/viewvc/llvm-project?rev=310347&view=rev Log: Darwin's toolchain should be initialized before openmp offloading is processed This fixes an 'openmp-offload.c' test failure introduced by r310263. Modified:

r310580 - Revert r310489 and follow-up commits r310505, r310519, r310537 and r310549

2017-08-10 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 10 03:34:46 2017 New Revision: 310580 URL: http://llvm.org/viewvc/llvm-project?rev=310580&view=rev Log: Revert r310489 and follow-up commits r310505, r310519, r310537 and r310549 Commit r310489 caused 'openmp-offload.c' test failures on Darwin and other platforms: h

r310706 - [modules] Set the lexical DC for dummy tag decls that refer to hidden

2017-08-11 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Aug 11 05:06:52 2017 New Revision: 310706 URL: http://llvm.org/viewvc/llvm-project?rev=310706&view=rev Log: [modules] Set the lexical DC for dummy tag decls that refer to hidden declarations that are made visible after the dummy is parsed and ODR verified Prior to this

r310829 - Set the lexical context for dummy tag decl inside createTagFromNewDecl

2017-08-14 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 14 03:59:44 2017 New Revision: 310829 URL: http://llvm.org/viewvc/llvm-project?rev=310829&view=rev Log: Set the lexical context for dummy tag decl inside createTagFromNewDecl This is a follow-up to r310706. This change has been recommended by Bruno Cardoso Lopes and

r310853 - [rename] Introduce symbol occurrences

2017-08-14 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Aug 14 09:19:24 2017 New Revision: 310853 URL: http://llvm.org/viewvc/llvm-project?rev=310853&view=rev Log: [rename] Introduce symbol occurrences Symbol occurrences store the results of local rename and will also be used for the global, indexed rename results. Their kin

r310916 - [Sema] Silence -Wobjc-missing-property-synthesis for unavailable properties

2017-08-15 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 15 05:40:01 2017 New Revision: 310916 URL: http://llvm.org/viewvc/llvm-project?rev=310916&view=rev Log: [Sema] Silence -Wobjc-missing-property-synthesis for unavailable properties rdar://30296911 Modified: cfe/trunk/lib/Sema/SemaObjCProperty.cpp cfe/trunk/t

r310921 - Allow pretty platform names in availability attributes

2017-08-15 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 15 07:42:01 2017 New Revision: 310921 URL: http://llvm.org/viewvc/llvm-project?rev=310921&view=rev Log: Allow pretty platform names in availability attributes rdar://32076651 Modified: cfe/trunk/lib/Parse/ParseDecl.cpp cfe/trunk/test/Sema/attr-availability-

r311085 - Print enum constant values using the original source formatting

2017-08-17 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 17 06:41:55 2017 New Revision: 311085 URL: http://llvm.org/viewvc/llvm-project?rev=311085&view=rev Log: Print enum constant values using the original source formatting if possible when creating "Declaration" nodes in XML comments rdar://14765746 Added: cfe/tru

r311088 - Unguarded availability diagnoser should use TraverseStmt instead of

2017-08-17 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 17 07:22:27 2017 New Revision: 311088 URL: http://llvm.org/viewvc/llvm-project?rev=311088&view=rev Log: Unguarded availability diagnoser should use TraverseStmt instead of Base::TraverseStmt when visiting the then/else branches of if statements This ensures that the

r311443 - [ObjC] Check written attributes only when synthesizing ambiguous property

2017-08-22 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Aug 22 03:38:07 2017 New Revision: 311443 URL: http://llvm.org/viewvc/llvm-project?rev=311443&view=rev Log: [ObjC] Check written attributes only when synthesizing ambiguous property This commit fixes a bug introduced in r307903. The attribute ambiguity checker that was

r311655 - [refactor] Add the AST source selection component

2017-08-24 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 24 06:51:09 2017 New Revision: 311655 URL: http://llvm.org/viewvc/llvm-project?rev=311655&view=rev Log: [refactor] Add the AST source selection component This commit adds the base AST source selection component to the refactoring library. AST selection is represente

r311656 - Add missing std::move call

2017-08-24 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 24 07:08:18 2017 New Revision: 311656 URL: http://llvm.org/viewvc/llvm-project?rev=311656&view=rev Log: Add missing std::move call This should fix http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental_build/41578/ Modified: cfe/trunk/lib/Tooling

r311664 - Fix use-after-free in Clang's ASTSelection unittest

2017-08-24 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Aug 24 07:53:48 2017 New Revision: 311664 URL: http://llvm.org/viewvc/llvm-project?rev=311664&view=rev Log: Fix use-after-free in Clang's ASTSelection unittest Modified: cfe/trunk/unittests/Tooling/ASTSelectionTest.cpp Modified: cfe/trunk/unittests/Tooling/ASTSelec

r311772 - [IRGen] Evaluate constant static variables referenced through member

2017-08-25 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Aug 25 03:07:00 2017 New Revision: 311772 URL: http://llvm.org/viewvc/llvm-project?rev=311772&view=rev Log: [IRGen] Evaluate constant static variables referenced through member expressions C++ allows us to reference static variables through member expressions. Prior to

[clang] 3df3b62 - [clang] ns_error_domain attribute also supports CFString typed variables

2020-11-11 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-11-11T08:50:30-08:00 New Revision: 3df3b62018c0015b0786b124827c276e8ee57117 URL: https://github.com/llvm/llvm-project/commit/3df3b62018c0015b0786b124827c276e8ee57117 DIFF: https://github.com/llvm/llvm-project/commit/3df3b62018c0015b0786b124827c276e8ee57117.diff L

[clang] 1192747 - NFC, add a missing stdlib include for the use of abort

2020-09-29 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-09-29T08:50:51-07:00 New Revision: 119274748bce6d1248aa57cb55d79bfeae8a2f8e URL: https://github.com/llvm/llvm-project/commit/119274748bce6d1248aa57cb55d79bfeae8a2f8e DIFF: https://github.com/llvm/llvm-project/commit/119274748bce6d1248aa57cb55d79bfeae8a2f8e.diff L

[clang] 03dcd57 - [clang] add a new `swift_attr` attribute

2020-12-04 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-12-04T15:53:24-08:00 New Revision: 03dcd57ecf99b31021644b868cae422897d520f8 URL: https://github.com/llvm/llvm-project/commit/03dcd57ecf99b31021644b868cae422897d520f8 DIFF: https://github.com/llvm/llvm-project/commit/03dcd57ecf99b31021644b868cae422897d520f8.diff L

[clang] eddd1d1 - [clang] add a `swift_async_name` attribute

2020-12-04 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-12-04T15:55:29-08:00 New Revision: eddd1d192bcaf11e449b34a3a569b85eb390e4f2 URL: https://github.com/llvm/llvm-project/commit/eddd1d192bcaf11e449b34a3a569b85eb390e4f2 DIFF: https://github.com/llvm/llvm-project/commit/eddd1d192bcaf11e449b34a3a569b85eb390e4f2.diff L

[clang] db226cd - [objc] diagnose protocol conformance in categories with direct members

2020-12-04 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-12-04T15:55:34-08:00 New Revision: db226cdf4cf91f350267da1a5b95dda42dd23413 URL: https://github.com/llvm/llvm-project/commit/db226cdf4cf91f350267da1a5b95dda42dd23413 DIFF: https://github.com/llvm/llvm-project/commit/db226cdf4cf91f350267da1a5b95dda42dd23413.diff L

[clang] de1016c - [driver][arm64] Set target CPU to A12 for compiler invocations that

2020-10-21 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-10-21T23:35:27-07:00 New Revision: de1016ce5cdca2df51c00fbc5d3a750d5d72364a URL: https://github.com/llvm/llvm-project/commit/de1016ce5cdca2df51c00fbc5d3a750d5d72364a DIFF: https://github.com/llvm/llvm-project/commit/de1016ce5cdca2df51c00fbc5d3a750d5d72364a.diff L

[clang] 701456b - [darwin] add support for __isPlatformVersionAtLeast check for if (@available)

2020-11-02 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-11-02T16:28:09-08:00 New Revision: 701456b52355c25089e1b536805164570f5def6f URL: https://github.com/llvm/llvm-project/commit/701456b52355c25089e1b536805164570f5def6f DIFF: https://github.com/llvm/llvm-project/commit/701456b52355c25089e1b536805164570f5def6f.diff L

[clang] 50be48b - [clang][ObjC] Allow different availability annotation on a method

2021-05-19 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-05-19T12:13:57-07:00 New Revision: 50be48b0f3c884a87ddf19c7c51abcab035c1efb URL: https://github.com/llvm/llvm-project/commit/50be48b0f3c884a87ddf19c7c51abcab035c1efb DIFF: https://github.com/llvm/llvm-project/commit/50be48b0f3c884a87ddf19c7c51abcab035c1efb.diff L

[clang] 22dea69 - [clang][ObjC] allow the use of NSAttributedString * argument type with format attribute

2021-06-11 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-06-11T13:24:32-07:00 New Revision: 22dea6923155b18d172db64e5dab4b71afe19e6e URL: https://github.com/llvm/llvm-project/commit/22dea6923155b18d172db64e5dab4b71afe19e6e DIFF: https://github.com/llvm/llvm-project/commit/22dea6923155b18d172db64e5dab4b71afe19e6e.diff L

[clang] f575f37 - [clang][darwin] Add support for the -mtargetos= option to the driver

2021-08-02 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-08-02T12:45:40-07:00 New Revision: f575f371822f6a07483b21701165492224a846bb URL: https://github.com/llvm/llvm-project/commit/f575f371822f6a07483b21701165492224a846bb DIFF: https://github.com/llvm/llvm-project/commit/f575f371822f6a07483b21701165492224a846bb.diff L

[clang] 3d0d7d8 - [clang][driver][darwin] support -target with Mac Catalyst triple without OS version

2021-10-28 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-10-28T18:46:10-07:00 New Revision: 3d0d7d8c5b669332f55c0af654b10f510bde1932 URL: https://github.com/llvm/llvm-project/commit/3d0d7d8c5b669332f55c0af654b10f510bde1932 DIFF: https://github.com/llvm/llvm-project/commit/3d0d7d8c5b669332f55c0af654b10f510bde1932.diff L

[clang] a43d1aa - [clang] Make 'align-mismatch' warning work without an associated function declaration

2021-10-29 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-10-29T13:39:16-07:00 New Revision: a43d1aa8525649a64b1f0ed5a5c25718c28920c1 URL: https://github.com/llvm/llvm-project/commit/a43d1aa8525649a64b1f0ed5a5c25718c28920c1 DIFF: https://github.com/llvm/llvm-project/commit/a43d1aa8525649a64b1f0ed5a5c25718c28920c1.diff L

[clang] a00944e - [clang] 'unused-but-set-variable' warning should not apply to __block objective-c pointers

2021-11-05 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-11-05T07:48:07-07:00 New Revision: a00944ebeab1b0adbce606cde4d2410fcbb3f440 URL: https://github.com/llvm/llvm-project/commit/a00944ebeab1b0adbce606cde4d2410fcbb3f440 DIFF: https://github.com/llvm/llvm-project/commit/a00944ebeab1b0adbce606cde4d2410fcbb3f440.diff L

[clang] 2de0a18 - [clang][ObjC] allow the use of NSAttributedString * return type with format_arg attribute

2021-03-09 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-03-09T13:36:57-08:00 New Revision: 2de0a18a8949f0235fb3a08dcc55ff3aa7d969e7 URL: https://github.com/llvm/llvm-project/commit/2de0a18a8949f0235fb3a08dcc55ff3aa7d969e7 DIFF: https://github.com/llvm/llvm-project/commit/2de0a18a8949f0235fb3a08dcc55ff3aa7d969e7.diff L

[clang] 234f321 - [clang][driver] Support Darwin SDK names with an optional prefix in their name

2021-03-09 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2021-03-09T14:57:58-08:00 New Revision: 234f3211a3dd84bb2c074402054452af24b914a6 URL: https://github.com/llvm/llvm-project/commit/234f3211a3dd84bb2c074402054452af24b914a6 DIFF: https://github.com/llvm/llvm-project/commit/234f3211a3dd84bb2c074402054452af24b914a6.diff L

<    1   2   3   4   5   6   7   >