r314141 - [analyzer] Fix crash on modeling of pointer arithmetic

2017-09-25 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Sep 25 12:32:33 2017 New Revision: 314141 URL: http://llvm.org/viewvc/llvm-project?rev=314141&view=rev Log: [analyzer] Fix crash on modeling of pointer arithmetic This patch fixes analyzer's crash on the newly added test case (see also https://bugs.llvm.org/show_bug.cg

r314470 - [clang] Add getUnsignedPointerDiffType method

2017-09-28 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Thu Sep 28 16:11:31 2017 New Revision: 314470 URL: http://llvm.org/viewvc/llvm-project?rev=314470&view=rev Log: [clang] Add getUnsignedPointerDiffType method C11 standard refers to the unsigned counterpart of the type ptrdiff_t in the paragraph 7.21.6.1p7 where it defines

r315665 - [clang] Enable clang build with LLVM_BUILD_INSTRUMENTED without setting LLVM_PROFTDATA

2017-10-12 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Thu Oct 12 20:21:39 2017 New Revision: 315665 URL: http://llvm.org/viewvc/llvm-project?rev=315665&view=rev Log: [clang] Enable clang build with LLVM_BUILD_INSTRUMENTED without setting LLVM_PROFTDATA At the moment if LLVM_BUILD_INSTRUMENTED is set to True one has to set LL

r316399 - [analyzer] Fix handling of labels in getLValueElement

2017-10-23 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Oct 23 16:46:06 2017 New Revision: 316399 URL: http://llvm.org/viewvc/llvm-project?rev=316399&view=rev Log: [analyzer] Fix handling of labels in getLValueElement In getLValueElement Base may represent the address of a label (as in the newly-added test case), in this ca

r305018 - [clang] Fix format specifiers fixits

2017-06-08 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Thu Jun 8 16:44:45 2017 New Revision: 305018 URL: http://llvm.org/viewvc/llvm-project?rev=305018&view=rev Log: [clang] Fix format specifiers fixits This diff fixes printf "fixits" in the case when there is a wrapping macro and the format string needs multiple replacements

r305124 - [clang] Cleanup fixit.c

2017-06-09 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Jun 9 17:20:52 2017 New Revision: 305124 URL: http://llvm.org/viewvc/llvm-project?rev=305124&view=rev Log: [clang] Cleanup fixit.c This diff removes temporary file t2 in fixit.c and updates the test command accordingly. NFC. Test plan: make check-all Differential re

r305845 - [clang] Fix format specifiers fixits for nested macros

2017-06-20 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Tue Jun 20 15:46:58 2017 New Revision: 305845 URL: http://llvm.org/viewvc/llvm-project?rev=305845&view=rev Log: [clang] Fix format specifiers fixits for nested macros ExpansionLoc was previously calculated incorrectly in the case of nested macros expansions. In this diff w

r345558 - [analyzer] Allow padding checker to traverse simple class hierarchies

2018-10-29 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Oct 29 18:20:37 2018 New Revision: 345558 URL: http://llvm.org/viewvc/llvm-project?rev=345558&view=rev Log: [analyzer] Allow padding checker to traverse simple class hierarchies The existing padding checker skips classes that have any base classes. This patch allows th

r311935 - [analyzer] Fix crash in modeling arithmetic

2017-08-28 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Aug 28 14:15:21 2017 New Revision: 311935 URL: http://llvm.org/viewvc/llvm-project?rev=311935&view=rev Log: [analyzer] Fix crash in modeling arithmetic This diff fixes modeling of arithmetic expressions where pointers are treated as integers (i.e. via C-style / reinte

r311947 - [analyzer] Adjust ptr arithmetic test

2017-08-28 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Aug 28 15:58:54 2017 New Revision: 311947 URL: http://llvm.org/viewvc/llvm-project?rev=311947&view=rev Log: [analyzer] Adjust ptr arithmetic test Replace "long" with __UINTPTR_TYPE__ to make the test added in rL311935 Windows-friendly. Caught by the buildbot llvm-clang-

r314011 - [clang] Fix printf fixit for objc specific types

2017-09-22 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Sep 22 11:36:06 2017 New Revision: 314011 URL: http://llvm.org/viewvc/llvm-project?rev=314011&view=rev Log: [clang] Fix printf fixit for objc specific types For the triple thumbv7-apple-ios8.0.0 ssize_t is long and size_t is unsigned long, while NSInteger is int and NS

r314022 - [clang] Fix isExternC matcher docs

2017-09-22 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Sep 22 12:29:38 2017 New Revision: 314022 URL: http://llvm.org/viewvc/llvm-project?rev=314022&view=rev Log: [clang] Fix isExternC matcher docs The wording in the documentation for the matcher isExternC appears to be misleading since this matcher is applicable to funct

r337148 - [Sema] Add fixit for unused lambda captures

2018-07-16 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Jul 16 00:23:47 2018 New Revision: 337148 URL: http://llvm.org/viewvc/llvm-project?rev=337148&view=rev Log: [Sema] Add fixit for unused lambda captures This diff adds a fixit to suggest removing unused lambda captures in the appropriate diagnostic. Patch by Andrew Com

[clang-tools-extra] r281826 - [clang-rename] Fix handling of unchanged files

2016-09-17 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Sat Sep 17 12:08:47 2016 New Revision: 281826 URL: http://llvm.org/viewvc/llvm-project?rev=281826&view=rev Log: [clang-rename] Fix handling of unchanged files Fix the output of clang-rename for the files without modifications. Update the code in clang-reorder-fields/tool/Cl

Re: [PATCH] D23901: Minor cleanup of the class CallStackFrame

2016-09-19 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL281907: Remove excessive padding from the struct CallStackFrame (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D23901?vs=69310&id=71838#toc Repository: rL LLVM https://rev

r281907 - Remove excessive padding from the struct CallStackFrame

2016-09-19 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Sep 19 10:57:29 2016 New Revision: 281907 URL: http://llvm.org/viewvc/llvm-project?rev=281907&view=rev Log: Remove excessive padding from the struct CallStackFrame The struct CallStackFrame is in lib/AST/ExprConstant.cpp inside anonymous namespace. This diff reorders th

[PATCH] D24751: [cleanup] Remove excessive padding from TextTokenRetokenizer::Position

2016-09-19 Thread Alexander Shaposhnikov via cfe-commits
alexshap created this revision. alexshap added reviewers: gribozavr, craig.topper. alexshap added a subscriber: cfe-commits. alexshap set the repository for this revision to rL LLVM. alexshap changed the visibility of this Differential Revision from "Public (No Login Required)" to "All Users". Re

Re: [PATCH] D24751: [cleanup] Remove excessive padding from TextTokenRetokenizer::Position

2016-09-19 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. F2434937: Screen Shot 2016-09-19 at 7.33.38 PM.png the order BufferStart, BufferEnd,BufferPtr,BufferStartLoc,CurToken works as well Repository: rL LLVM https://reviews.llvm.org/D24751 ___

[PATCH] D24754: [cleanup] Remove excessive padding from RedeclarableResult

2016-09-20 Thread Alexander Shaposhnikov via cfe-commits
alexshap created this revision. alexshap added reviewers: rtrieu, rsmith, bkramer, mehdi_amini. alexshap added a subscriber: cfe-commits. alexshap set the repository for this revision to rL LLVM. alexshap changed the visibility of this Differential Revision from "Public (No Login Required)" to "Al

Re: [PATCH] D24754: [cleanup] Remove excessive padding from RedeclarableResult

2016-09-20 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. F2435929: Screen Shot 2016-09-20 at 12.19.51 AM.png Repository: rL LLVM https://reviews.llvm.org/D24754 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/c

r281995 - [cleanup] Remove excessive padding from TextTokenRetokenizer::Position

2016-09-20 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Tue Sep 20 13:32:48 2016 New Revision: 281995 URL: http://llvm.org/viewvc/llvm-project?rev=281995&view=rev Log: [cleanup] Remove excessive padding from TextTokenRetokenizer::Position Reorder the fields of the struct TextTokenRetokenizer::Position to remove excessive paddin

Re: [PATCH] D24751: [cleanup] Remove excessive padding from TextTokenRetokenizer::Position

2016-09-20 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL281995: [cleanup] Remove excessive padding from TextTokenRetokenizer::Position (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D24751?vs=71897&id=71963#toc Repository: rL LL

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-21 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. Without the changes: F2438373: Screen Shot 2016-09-21 at 12.38.22 AM.png With the patch the tests are green. Repository: rL LLVM https://reviews.llvm.org/D24792 ___ cfe-commits mailin

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-21 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. > is that a problem for your codebase? @zaks.anna - yes it is. > Another possible issue is that we will use the synthesized body if the > function name starts with "OSAtomicCompareAndSwap" since ?>we do not match > the full function name. If the function body is ava

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-21 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. @zaks.anna: it happens on one of the ports of libdispatch, but probably i also can reproduce this crash with OSAtomicCompareAndSwap. Repository: rL LLVM https://reviews.llvm.org/D24792 ___ cfe-commits mailing list cfe-c

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-21 Thread Alexander Shaposhnikov via cfe-commits
alexshap updated the summary for this revision. alexshap updated this revision to Diff 72132. alexshap added a comment. Address the comments Repository: rL LLVM https://reviews.llvm.org/D24792 Files: lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp lib/StaticAnalyzer/Frontend/AnalysisC

Re: [PATCH] D24754: [cleanup] Remove excessive padding from RedeclarableResult

2016-09-21 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: lib/Serialization/ASTReaderDecl.cpp:154 @@ -153,3 +153,3 @@ public: - RedeclarableResult(GlobalDeclID FirstID, Decl *MergeWith, bool IsKeyDecl) - : FirstID(FirstID), MergeWith(MergeWith), IsKeyDecl(IsKeyDecl) {} +

Re: [PATCH] D24754: [cleanup] Remove excessive padding from RedeclarableResult

2016-09-22 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: lib/Serialization/ASTReaderDecl.cpp:154 @@ -153,3 +153,3 @@ public: - RedeclarableResult(GlobalDeclID FirstID, Decl *MergeWith, bool IsKeyDecl) - : FirstID(FirstID), MergeWith(MergeWith), IsKeyDecl(IsKeyDecl) {} +

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-22 Thread Alexander Shaposhnikov via cfe-commits
alexshap updated this revision to Diff 72206. alexshap added a comment. Move the check to AnalysisConsumer::HandleCode. Repository: rL LLVM https://reviews.llvm.org/D24792 Files: lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp test/An

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-23 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. Thanks, Chris has recently granted me commit access, i will rebase, rerun all the tests and then commit. Repository: rL LLVM https://reviews.llvm.org/D24792 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http:/

r282293 - [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-23 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Sep 23 15:49:01 2016 New Revision: 282293 URL: http://llvm.org/viewvc/llvm-project?rev=282293&view=rev Log: [analyzer] Fix crash in RetainCountChecker::checkEndFunction The class BodyFarm creates bodies for OSAtomicCompareAndSwap*, objc_atomicCompareAndSwap*, dispatch_s

Re: [PATCH] D24792: [analyzer] Fix crash in RetainCountChecker::checkEndFunction

2016-09-23 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282293: [analyzer] Fix crash in RetainCountChecker::checkEndFunction (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D24792?vs=72206&id=72354#toc Repository: rL LLVM https:

r282318 - Remove excessive padding from ObjCCategoriesVisitor

2016-09-23 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Sep 23 21:07:19 2016 New Revision: 282318 URL: http://llvm.org/viewvc/llvm-project?rev=282318&view=rev Log: Remove excessive padding from ObjCCategoriesVisitor This diff reorders the fields of ObjCCategoriesVisitor to remove excessive padding. Test plan: make -j8 che

r282322 - Remove excessive padding from RedeclarableResult

2016-09-23 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Sep 23 23:21:53 2016 New Revision: 282322 URL: http://llvm.org/viewvc/llvm-project?rev=282322&view=rev Log: Remove excessive padding from RedeclarableResult This diff reorders the fields of the class RedeclarableResult to remove excessive padding. Test plan: make -j8

Re: [PATCH] D24754: [cleanup] Remove excessive padding from RedeclarableResult

2016-09-23 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282322: Remove excessive padding from RedeclarableResult (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D24754?vs=71903&id=72388#toc Repository: rL LLVM https://reviews.ll

Re: [PATCH] D24914: [clang-rename] Do not print out error message upon encountering multiple replacements in the same SourceLocation.

2016-09-27 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a subscriber: alexshap. Comment at: clang-rename/RenamingAction.cpp:74 @@ +73,3 @@ + // FIXME: As for clang-rename, adding a replacement fails IFF either the + // AST node has been matched multiple times (which shouldn't happen in + // reality, need t

Re: [PATCH] D24914: [clang-rename] Do not print out error message upon encountering multiple replacements in the same SourceLocation.

2016-09-27 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: clang-rename/RenamingAction.cpp:74 @@ +73,3 @@ + // FIXME: As for clang-rename, adding a replacement fails IFF either the + // AST node has been matched multiple times (which shouldn't happen in + // reality, need to fix t

Re: [PATCH] D24914: [clang-rename] Do not print out error message upon encountering multiple replacements in the same SourceLocation.

2016-09-27 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: clang-rename/RenamingAction.cpp:74 @@ +73,3 @@ + // FIXME: An error might happen here if USRLocFinder finds the symbol + // twice or if the symbol happens to be in a header included multiple + // times independently. Such

Re: [PATCH] D24800: Merge conflicting replacements when they are order-independent.

2016-09-28 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a subscriber: alexshap. Comment at: cfe/trunk/lib/Tooling/Core/Replacement.cpp:182 @@ +181,3 @@ +llvm::Expected +Replacements::mergeIfOrderIndependent(const Replacement &R) const { + Replacements Rs(R); sorry, probably i am late to the party, howev

Re: [PATCH] D24800: Merge conflicting replacements when they are order-independent.

2016-09-28 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: cfe/trunk/lib/Tooling/Core/Replacement.cpp:182 @@ +181,3 @@ +llvm::Expected +Replacements::mergeIfOrderIndependent(const Replacement &R) const { + Replacements Rs(R); ioeric wrote: > alexshap wrote: > > sorry, probably

[PATCH] D25049: Add missing std::move in Replacements::add

2016-09-28 Thread Alexander Shaposhnikov via cfe-commits
alexshap created this revision. alexshap added reviewers: djasper, klimek, ioeric. alexshap added a subscriber: cfe-commits. alexshap set the repository for this revision to rL LLVM. alexshap changed the visibility of this Differential Revision from "Public (No Login Required)" to "All Users". Her

[PATCH] [Changed Subscribers] D25074: [clang-tidy] Improve rename_check.py

2016-09-30 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. > rename_check.py:81 > +args = parser.parse_args() > +print(args) > + the script always prints the args, is it intentional ? https://reviews.llvm.org/D25074 ___ cfe-commits mailing list cfe-commits@lists.llvm

r282949 - Add missing std::move in Replacements::add

2016-09-30 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Sep 30 16:05:45 2016 New Revision: 282949 URL: http://llvm.org/viewvc/llvm-project?rev=282949&view=rev Log: Add missing std::move in Replacements::add This diff adds std::move to avoid copying of the Replacement NewR in the method Replacements::add. Test plan: make -j

[PATCH] D25049: Add missing std::move in Replacements::add

2016-09-30 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL282949: Add missing std::move in Replacements::add (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D25049?vs=72902&id=73140#toc Repository: rL LLVM https://reviews.llvm.org

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-12 Thread Alexander Shaposhnikov via cfe-commits
alexshap created this revision. alexshap added reviewers: NoQ, zaks.anna. alexshap added a subscriber: cfe-commits. alexshap set the repository for this revision to rL LLVM. The class DataflowWorklist internally maintains a sorted list of pointers to CFGBlock and the method enqueuePredecessors ha

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-12 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: lib/Analysis/LiveVariables.cpp:66 return nullptr; - const CFGBlock *b = worklist.pop_back_val(); + const auto I = --worklist.end(); + const CFGBlock *b = *I; zaks.anna wrote: > '--wroklist.end()' -> 'worklist.rb

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-12 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: lib/Analysis/LiveVariables.cpp:66 return nullptr; - const CFGBlock *b = worklist.pop_back_val(); + const auto I = --worklist.end(); + const CFGBlock *b = *I; alexshap wrote: > zaks.anna wrote: > > '--wroklist.en

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-12 Thread Alexander Shaposhnikov via cfe-commits
alexshap added inline comments. Comment at: lib/Analysis/LiveVariables.cpp:66 return nullptr; - const CFGBlock *b = worklist.pop_back_val(); + const auto I = --worklist.end(); + const CFGBlock *b = *I; alexshap wrote: > alexshap wrote: > > zaks.anna wrote

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-12 Thread Alexander Shaposhnikov via cfe-commits
alexshap updated the summary for this revision. alexshap updated this revision to Diff 74437. alexshap added a comment. Switch to priority queue. I have rerun the tests - they are all green. I will post the numbers about the perf a bit later. Repository: rL LLVM https://reviews.llvm.org/D2550

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-12 Thread Alexander Shaposhnikov via cfe-commits
alexshap added a comment. I've just run scan-build against LLVM & clang & clang-extra-tools - the new version (with PriorityQueue) is a bit faster - i was running the build on OSX & -j8 and the total time for the new version is 88 minutes vs 92 minutes for the old one. Certainly i think that th

r284166 - [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-13 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Thu Oct 13 16:31:46 2016 New Revision: 284166 URL: http://llvm.org/viewvc/llvm-project?rev=284166&view=rev Log: [analyzer] Remove superquadratic behaviour from DataflowWorklist The class DataflowWorklist internally maintains a sorted list of pointers to CFGBlock and the me

[PATCH] D25503: [analyzer] Remove superquadratic behaviour from DataflowWorklist

2016-10-13 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL284166: [analyzer] Remove superquadratic behaviour from DataflowWorklist (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D25503?vs=74437&id=74585#toc Repository: rL LLVM ht

[PATCH] D25586: [clang-move] Use cl::list and cl::CommaSeparated for the list of names.

2016-10-13 Thread Alexander Shaposhnikov via cfe-commits
alexshap created this revision. alexshap added reviewers: ioeric, klimek. alexshap added a subscriber: cfe-commits. alexshap set the repository for this revision to rL LLVM. This diff replaces manual parsing of the comma-separated list of names with cl::list and cl::CommaSeparated. Test plan: ma

[clang-tools-extra] r284291 - [clang-move] Use cl::list for the list of names

2016-10-14 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Oct 14 18:16:25 2016 New Revision: 284291 URL: http://llvm.org/viewvc/llvm-project?rev=284291&view=rev Log: [clang-move] Use cl::list for the list of names This diff replaces manual parsing of the comma-separated list of names with cl::list and cl::CommaSeparated. Test

[PATCH] D25586: [clang-move] Use cl::list and cl::CommaSeparated for the list of names.

2016-10-14 Thread Alexander Shaposhnikov via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL284291: [clang-move] Use cl::list for the list of names (authored by alexshap). Changed prior to commit: https://reviews.llvm.org/D25586?vs=74599&id=74749#toc Repository: rL LLVM https://reviews.llv

[clang-tools-extra] 47dbacb - [clang-tidy] Restrict use-equals-default to c++11-or-later

2022-09-02 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-09-02T22:19:11Z New Revision: 47dbacbc8ae2c13f970096814de8f677d80859af URL: https://github.com/llvm/llvm-project/commit/47dbacbc8ae2c13f970096814de8f677d80859af DIFF: https://github.com/llvm/llvm-project/commit/47dbacbc8ae2c13f970096814de8f677d80859af.d

[clang-tools-extra] a7395b8 - [clang-tidy] Skip copy assignment operators with nonstandard return types

2022-09-02 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-09-02T22:43:39Z New Revision: a7395b860bc247c9e4e917bf5786c04d4cccf1d7 URL: https://github.com/llvm/llvm-project/commit/a7395b860bc247c9e4e917bf5786c04d4cccf1d7 DIFF: https://github.com/llvm/llvm-project/commit/a7395b860bc247c9e4e917bf5786c04d4cccf1d7.d

[clang-tools-extra] 4450348 - [clang-tidy] Skip union-like classes in use-equals-default

2022-09-06 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-09-06T20:19:47Z New Revision: 44503482e0af189d3a7fc57b80238ea4151992b9 URL: https://github.com/llvm/llvm-project/commit/44503482e0af189d3a7fc57b80238ea4151992b9 DIFF: https://github.com/llvm/llvm-project/commit/44503482e0af189d3a7fc57b80238ea4151992b9.d

[clang] b6965f7 - [IR] Add alignment for llvm.threadlocal.address

2022-09-13 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-09-13T23:10:55Z New Revision: b6965f7246bba1b399755f56d8ae34893e815198 URL: https://github.com/llvm/llvm-project/commit/b6965f7246bba1b399755f56d8ae34893e815198 DIFF: https://github.com/llvm/llvm-project/commit/b6965f7246bba1b399755f56d8ae34893e815198.d

[clang] [clang-tools-extra] [llvm] [ConstraintElim] Add facts implied by llvm.abs (PR #73189)

2023-12-03 Thread Alexander Shaposhnikov via cfe-commits
https://github.com/alexander-shaposhnikov updated https://github.com/llvm/llvm-project/pull/73189 >From a9e76a878edc8bc9cb81b8aa169bbbc467d32026 Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Thu, 23 Nov 2023 00:37:08 + Subject: [PATCH] [ConstraintElim] Add a fact implied by ll

[clang] [compiler-rt] [llvm] Add numerical sanitizer (PR #85916)

2024-03-20 Thread Alexander Shaposhnikov via cfe-commits
https://github.com/alexander-shaposhnikov edited https://github.com/llvm/llvm-project/pull/85916 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [llvm] Add numerical sanitizer (PR #85916)

2024-03-20 Thread Alexander Shaposhnikov via cfe-commits
https://github.com/alexander-shaposhnikov edited https://github.com/llvm/llvm-project/pull/85916 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [llvm] Add numerical sanitizer (PR #85916)

2024-03-26 Thread Alexander Shaposhnikov via cfe-commits
alexander-shaposhnikov wrote: @vitalybuka , @arsenm - thanks a lot, yeah, sure, I can split the patch. P.S. will update/address comments soon. https://github.com/llvm/llvm-project/pull/85916 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https

Re: [PATCH] D35961: [llvm] Update MachOObjectFile::exports interface

2017-07-28 Thread Alexander Shaposhnikov via cfe-commits
Hi, many thanks for looking at the diff. (i started working on this because this interface change broke some out-of-tree code, but that's expected and not a big issue, i just wanted to clean it up a bit). I assume I might be missing smth, however my diff doesn't change the static method /// For us

[clang-tools-extra] r309505 - [clang-reorder-fields] Emit warning when reordering breaks member init list dependencies

2017-07-29 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Sat Jul 29 23:43:03 2017 New Revision: 309505 URL: http://llvm.org/viewvc/llvm-project?rev=309505&view=rev Log: [clang-reorder-fields] Emit warning when reordering breaks member init list dependencies This diff adds a warning emitted by clang-reorder-fields when reorderin

r310887 - [analyzer] Fix SimpleSValBuilder::simplifySVal

2017-08-14 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Aug 14 14:23:08 2017 New Revision: 310887 URL: http://llvm.org/viewvc/llvm-project?rev=310887&view=rev Log: [analyzer] Fix SimpleSValBuilder::simplifySVal This diff fixes a crash (triggered assert) on the newly added test case. In the method Simplifier::VisitSymbolData

r310948 - [clang] Code cleanup in clang/tooling

2017-08-15 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Tue Aug 15 12:23:54 2017 New Revision: 310948 URL: http://llvm.org/viewvc/llvm-project?rev=310948&view=rev Log: [clang] Code cleanup in clang/tooling 1. Add missing explicit for SymbolName constructor. 2. Add missing std::move in createRenameReplacements. Differential revi

r311182 - [analyzer] Fix modeling of constructors

2017-08-18 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Fri Aug 18 11:20:43 2017 New Revision: 311182 URL: http://llvm.org/viewvc/llvm-project?rev=311182&view=rev Log: [analyzer] Fix modeling of constructors This diff fixes analyzer's crash (triggered assert) on the newly added test case. The assert being discussed is assert(!B

Re: r311182 - [analyzer] Fix modeling of constructors

2017-08-21 Thread Alexander Shaposhnikov via cfe-commits
nge into release 5.0.0? It's an > assertion > >>> failure fix, which shows up on C++ code involving double-inheritance > with > >>> empty base classes. > >>> > >>> Artem. > >>> > >>> > >>> On 8/18/17 9:20

[clang-tools-extra] 90d42b1 - [clang-tidy] Skip private default ctors in modernize-use-equals-default

2022-10-20 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-10-20T22:04:33Z New Revision: 90d42b1cab04b76e9e934f1e5076f014d1195e72 URL: https://github.com/llvm/llvm-project/commit/90d42b1cab04b76e9e934f1e5076f014d1195e72 DIFF: https://github.com/llvm/llvm-project/commit/90d42b1cab04b76e9e934f1e5076f014d1195e72.d

[clang-tools-extra] 6c07bda - [clang-tidy] Avoid adding unnecessary semicolon in modernize-use-equals-default

2022-10-21 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-10-22T00:42:50Z New Revision: 6c07bda7a75c68aa14a1e5f1ca0eac9ba6220cbb URL: https://github.com/llvm/llvm-project/commit/6c07bda7a75c68aa14a1e5f1ca0eac9ba6220cbb DIFF: https://github.com/llvm/llvm-project/commit/6c07bda7a75c68aa14a1e5f1ca0eac9ba6220cbb.d

[clang-tools-extra] 29e4606 - [clang-tidy] Skip template ctors in modernize-use-equals-default

2022-10-27 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-10-28T05:30:19Z New Revision: 29e4606ced7284c87a88fdcd34a6d179a1350fe9 URL: https://github.com/llvm/llvm-project/commit/29e4606ced7284c87a88fdcd34a6d179a1350fe9 DIFF: https://github.com/llvm/llvm-project/commit/29e4606ced7284c87a88fdcd34a6d179a1350fe9.d

[clang] d68ba43 - [Intrinsics] Add initial support for NonNull attribute

2022-08-16 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-08-16T21:28:23Z New Revision: d68ba43ad24791181280fdb0f34b6be380db7a32 URL: https://github.com/llvm/llvm-project/commit/d68ba43ad24791181280fdb0f34b6be380db7a32 DIFF: https://github.com/llvm/llvm-project/commit/d68ba43ad24791181280fdb0f34b6be380db7a32.d

[clang-tools-extra] 083e3a1 - [clang-tidy] Skip unions in use-equals-default

2022-08-23 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-08-23T20:09:47Z New Revision: 083e3a173d9e9d71733e0445e6f4a93e7f918dfa URL: https://github.com/llvm/llvm-project/commit/083e3a173d9e9d71733e0445e6f4a93e7f918dfa DIFF: https://github.com/llvm/llvm-project/commit/083e3a173d9e9d71733e0445e6f4a93e7f918dfa.d

[clang-tools-extra] d4e8109 - [clang-tidy] Skip variadic ctors in modernize-use-equals-default

2022-09-30 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-09-30T22:16:28Z New Revision: d4e81097ea3daf37b5480281a17ad5b20cd7ee8d URL: https://github.com/llvm/llvm-project/commit/d4e81097ea3daf37b5480281a17ad5b20cd7ee8d DIFF: https://github.com/llvm/llvm-project/commit/d4e81097ea3daf37b5480281a17ad5b20cd7ee8d.d

[clang] ef9e624 - [opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm

2022-11-14 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-14T21:11:07Z New Revision: ef9e624694c0f125c53f7d0d3472fd486bada57d URL: https://github.com/llvm/llvm-project/commit/ef9e624694c0f125c53f7d0d3472fd486bada57d DIFF: https://github.com/llvm/llvm-project/commit/ef9e624694c0f125c53f7d0d3472fd486bada57d.d

[clang] 8c15c17 - Revert "[opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm"

2022-11-14 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-14T21:31:30Z New Revision: 8c15c17e3ba7916b2efb2a100495c710bae04fb6 URL: https://github.com/llvm/llvm-project/commit/8c15c17e3ba7916b2efb2a100495c710bae04fb6 DIFF: https://github.com/llvm/llvm-project/commit/8c15c17e3ba7916b2efb2a100495c710bae04fb6.d

[clang] bf8381a - [opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm

2022-11-14 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-14T23:24:08Z New Revision: bf8381a8bce28fc69857645cc7e84a72317e693e URL: https://github.com/llvm/llvm-project/commit/bf8381a8bce28fc69857645cc7e84a72317e693e DIFF: https://github.com/llvm/llvm-project/commit/bf8381a8bce28fc69857645cc7e84a72317e693e.d

[clang-tools-extra] 2483a7f - [include-cleaner] Fix the build of include-cleaner with LLVM_BUILD_LLVM_DYLIB=ON

2022-11-17 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-18T00:54:45Z New Revision: 2483a7fffbdf8e04addfbbf9f333155edc2c0346 URL: https://github.com/llvm/llvm-project/commit/2483a7fffbdf8e04addfbbf9f333155edc2c0346 DIFF: https://github.com/llvm/llvm-project/commit/2483a7fffbdf8e04addfbbf9f333155edc2c0346.d

[clang] 7059a6c - [IR] Split out IR printing passes into IRPrinter

2022-11-17 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-18T01:47:56Z New Revision: 7059a6c32cfad8f272fad47265e3890cd7a1a7e1 URL: https://github.com/llvm/llvm-project/commit/7059a6c32cfad8f272fad47265e3890cd7a1a7e1 DIFF: https://github.com/llvm/llvm-project/commit/7059a6c32cfad8f272fad47265e3890cd7a1a7e1.d

[clang] 34ab474 - [opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm

2022-11-17 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-18T05:04:07Z New Revision: 34ab474348e2623cc67abddb7bb662385297ac65 URL: https://github.com/llvm/llvm-project/commit/34ab474348e2623cc67abddb7bb662385297ac65 DIFF: https://github.com/llvm/llvm-project/commit/34ab474348e2623cc67abddb7bb662385297ac65.d

[clang] f102fe7 - Revert "Revert "[opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm""

2022-11-18 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2022-11-18T08:58:31Z New Revision: f102fe73044062542f022182381c17172a999db2 URL: https://github.com/llvm/llvm-project/commit/f102fe73044062542f022182381c17172a999db2 DIFF: https://github.com/llvm/llvm-project/commit/f102fe73044062542f022182381c17172a999db2.d

[clang] 0fd9c37 - [Clang] Treat `std::forward_like` as builtin

2023-01-28 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-01-29T00:13:46Z New Revision: 0fd9c37d8cf20d1ee42263872ab2135265c3ac3d URL: https://github.com/llvm/llvm-project/commit/0fd9c37d8cf20d1ee42263872ab2135265c3ac3d DIFF: https://github.com/llvm/llvm-project/commit/0fd9c37d8cf20d1ee42263872ab2135265c3ac3d.d

[clang] 31b0be4 - [Clang] Add lifetimebound attribute to std::move/std::forward

2023-01-19 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-01-19T20:57:24Z New Revision: 31b0be4eba9e8e9244799f0ebcb18175faff69ab URL: https://github.com/llvm/llvm-project/commit/31b0be4eba9e8e9244799f0ebcb18175faff69ab DIFF: https://github.com/llvm/llvm-project/commit/31b0be4eba9e8e9244799f0ebcb18175faff69ab.d

[clang-tools-extra] [compiler-rt] Implement __extendxftf2 for x86_64 (PR #66918)

2023-09-22 Thread Alexander Shaposhnikov via cfe-commits
https://github.com/alexander-shaposhnikov updated https://github.com/llvm/llvm-project/pull/66918 >From 84cb5de329c228702da9f864312df31dc00692dc Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Wed, 20 Sep 2023 14:25:46 + Subject: [PATCH] Implement __extendxftf2 for x86_64 ---

[clang] [compiler-rt] Implement __extendxftf2 for x86_64 (PR #66918)

2023-09-22 Thread Alexander Shaposhnikov via cfe-commits
https://github.com/alexander-shaposhnikov updated https://github.com/llvm/llvm-project/pull/66918 >From 84cb5de329c228702da9f864312df31dc00692dc Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Wed, 20 Sep 2023 14:25:46 + Subject: [PATCH] Implement __extendxftf2 for x86_64 ---

[clang] [clang] Predefined macros for float128 support (PR #67196)

2023-09-25 Thread Alexander Shaposhnikov via cfe-commits
@@ -1076,6 +1076,8 @@ static void InitializePredefinedMacros(const TargetInfo &TI, DefineFloatMacros(Builder, "FLT", &TI.getFloatFormat(), "F"); DefineFloatMacros(Builder, "DBL", &TI.getDoubleFormat(), ""); DefineFloatMacros(Builder, "LDBL", &TI.getLongDoubleFormat(), "L

[clang] [clang] Predefined macros for float128 support (PR #67196)

2023-09-26 Thread Alexander Shaposhnikov via cfe-commits
https://github.com/alexander-shaposhnikov approved this pull request. LG https://github.com/llvm/llvm-project/pull/67196 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r318705 - [analyzer] Diagnose stack leaks via block captures

2017-11-20 Thread Alexander Shaposhnikov via cfe-commits
Author: alexshap Date: Mon Nov 20 14:53:30 2017 New Revision: 318705 URL: http://llvm.org/viewvc/llvm-project?rev=318705&view=rev Log: [analyzer] Diagnose stack leaks via block captures This diff extends StackAddrEscapeChecker to catch stack addresses leaks via block captures if the block is exec

[clang] 8403ccd - [Clang][CodeGen] Fix linkage and visibility of template parameter objects

2023-03-14 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-03-14T18:23:06Z New Revision: 8403ccdcd28c2ff30c1e980ce4a8c851fae01a9d URL: https://github.com/llvm/llvm-project/commit/8403ccdcd28c2ff30c1e980ce4a8c851fae01a9d DIFF: https://github.com/llvm/llvm-project/commit/8403ccdcd28c2ff30c1e980ce4a8c851fae01a9d.d

[clang] 421c098 - [Clang][Sema] Start fixing handling of out-of-line definitions of constrained templates

2023-03-10 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-03-10T09:21:09Z New Revision: 421c098b32bd50122de8de03a71092c7f36994eb URL: https://github.com/llvm/llvm-project/commit/421c098b32bd50122de8de03a71092c7f36994eb DIFF: https://github.com/llvm/llvm-project/commit/421c098b32bd50122de8de03a71092c7f36994eb.d

[clang] 60bee9f - [Clang][Sema] Fix comparison of constraint expressions

2023-04-03 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-04-04T02:31:13Z New Revision: 60bee9ff544541e83ffbd4be31923d0e8b644690 URL: https://github.com/llvm/llvm-project/commit/60bee9ff544541e83ffbd4be31923d0e8b644690 DIFF: https://github.com/llvm/llvm-project/commit/60bee9ff544541e83ffbd4be31923d0e8b644690.d

[clang] 13d44a8 - Revert "[Clang][Sema] Fix comparison of constraint expressions"

2023-04-07 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-04-07T18:41:57Z New Revision: 13d44a8f5647819efd3ef57af384a3666f99d066 URL: https://github.com/llvm/llvm-project/commit/13d44a8f5647819efd3ef57af384a3666f99d066 DIFF: https://github.com/llvm/llvm-project/commit/13d44a8f5647819efd3ef57af384a3666f99d066.d

[clang] f799901 - [Clang][Sema] Add MultiLevelTemplateArgumentList::dump

2023-04-07 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-04-07T19:36:59Z New Revision: f799901c06c015cc30cf123a8f0c01f8b107669e URL: https://github.com/llvm/llvm-project/commit/f799901c06c015cc30cf123a8f0c01f8b107669e DIFF: https://github.com/llvm/llvm-project/commit/f799901c06c015cc30cf123a8f0c01f8b107669e.d

[clang] 8f5d815 - [Clang][LLVM] Enable __arithmetic_fence and fprotect-parens on AArch64

2023-02-13 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-02-13T19:26:11Z New Revision: 8f5d81585aa9261342d5304e460925916ea1f851 URL: https://github.com/llvm/llvm-project/commit/8f5d81585aa9261342d5304e460925916ea1f851 DIFF: https://github.com/llvm/llvm-project/commit/8f5d81585aa9261342d5304e460925916ea1f851.d

[clang] 3b9ed6e - Revert "[Clang][Sema] Fix comparison of constraint expressions"

2023-05-04 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-05-05T00:02:26Z New Revision: 3b9ed6e5323176550925f3b0a2c50ced1b61438d URL: https://github.com/llvm/llvm-project/commit/3b9ed6e5323176550925f3b0a2c50ced1b61438d DIFF: https://github.com/llvm/llvm-project/commit/3b9ed6e5323176550925f3b0a2c50ced1b61438d.d

[clang] 6db007a - [Clang][Sema] Fix comparison of constraint expressions

2023-05-09 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-05-09T18:14:39Z New Revision: 6db007a0654ed7a6ed5c3aa3b61a937c19a6bc6b URL: https://github.com/llvm/llvm-project/commit/6db007a0654ed7a6ed5c3aa3b61a937c19a6bc6b DIFF: https://github.com/llvm/llvm-project/commit/6db007a0654ed7a6ed5c3aa3b61a937c19a6bc6b.d

[clang] 122b938 - [Clang][Sema] Substitute constraints only for declarations with different lexical contexts

2023-05-17 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-05-17T21:24:44Z New Revision: 122b938944ceb966e04d7a4d253f7f9ba27c477d URL: https://github.com/llvm/llvm-project/commit/122b938944ceb966e04d7a4d253f7f9ba27c477d DIFF: https://github.com/llvm/llvm-project/commit/122b938944ceb966e04d7a4d253f7f9ba27c477d.d

[clang] cd4677f - [Clang] Update release notes

2023-05-18 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-05-18T20:02:37Z New Revision: cd4677f207041e74f55d0cac6145942f04301ee7 URL: https://github.com/llvm/llvm-project/commit/cd4677f207041e74f55d0cac6145942f04301ee7 DIFF: https://github.com/llvm/llvm-project/commit/cd4677f207041e74f55d0cac6145942f04301ee7.d

[clang] 7c26919 - [Clang] Fix typo in ReleaseNotes.rst

2023-05-18 Thread Alexander Shaposhnikov via cfe-commits
Author: Alexander Shaposhnikov Date: 2023-05-18T20:08:54Z New Revision: 7c26919c32f0620441417805329867884a5efc7b URL: https://github.com/llvm/llvm-project/commit/7c26919c32f0620441417805329867884a5efc7b DIFF: https://github.com/llvm/llvm-project/commit/7c26919c32f0620441417805329867884a5efc7b.d

  1   2   3   >