[clang-tools-extra] [clang-tidy][NFC] Fix gsl::not_null template parameter (PR #99472)

2024-07-18 Thread Rafael Stahl via cfe-commits
https://github.com/rafzi created https://github.com/llvm/llvm-project/pull/99472 `T` is expected to be a pointer type. https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-nullptr >From 48e452b9032d26889dfceb7668159275015a5290 Mon Sep 17 00:00:00 2001 From: Rafael Stahl Date: Thu, 1

r367219 - doc: Fix Google C++ Style Guide link.

2019-07-29 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Mon Jul 29 04:00:23 2019 New Revision: 367219 URL: http://llvm.org/viewvc/llvm-project?rev=367219&view=rev Log: doc: Fix Google C++ Style Guide link. Modified: cfe/trunk/docs/ClangFormatStyleOptions.rst Modified: cfe/trunk/docs/ClangFormatStyleOptions.rst URL: http://l

r365909 - [clang-format][tests] Explicitly specify style in some tests

2019-07-12 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Fri Jul 12 08:56:18 2019 New Revision: 365909 URL: http://llvm.org/viewvc/llvm-project?rev=365909&view=rev Log: [clang-format][tests] Explicitly specify style in some tests Summary: This fixes broken tests when doing an out-of-source build that picks up a random .clang-form

r358968 - [analyzer][CrossTU] Extend CTU to VarDecls with initializer

2019-04-23 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Tue Apr 23 04:04:41 2019 New Revision: 358968 URL: http://llvm.org/viewvc/llvm-project?rev=358968&view=rev Log: [analyzer][CrossTU] Extend CTU to VarDecls with initializer Summary: The existing CTU mechanism imports `FunctionDecl`s where the definition is available in anoth

r350852 - [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions

2019-01-10 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Thu Jan 10 09:44:04 2019 New Revision: 350852 URL: http://llvm.org/viewvc/llvm-project?rev=350852&view=rev Log: [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions Summary: This is just changing naming and documentation to be general ab

r350528 - [analyzer] Pass the correct loc Expr from VisitIncDecOp to evalStore

2019-01-07 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Mon Jan 7 07:07:01 2019 New Revision: 350528 URL: http://llvm.org/viewvc/llvm-project?rev=350528&view=rev Log: [analyzer] Pass the correct loc Expr from VisitIncDecOp to evalStore Summary: The LocationE parameter of evalStore is documented as "The location expression that

r336527 - [ASTImporter] fix test failure corrected by fixed func end locs

2018-07-09 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Mon Jul 9 02:02:53 2018 New Revision: 336527 URL: http://llvm.org/viewvc/llvm-project?rev=336527&view=rev Log: [ASTImporter] fix test failure corrected by fixed func end locs fix to rC336523 / D48941 Modified: cfe/trunk/test/Import/attr/test.cpp Modified: cfe/trunk/t

r336523 - [ASTImporter] import FunctionDecl end locations

2018-07-09 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Mon Jul 9 01:40:17 2018 New Revision: 336523 URL: http://llvm.org/viewvc/llvm-project?rev=336523&view=rev Log: [ASTImporter] import FunctionDecl end locations Summary: On constructors that do not take the end source location, it was not imported. Fixes test from D47698 / r

r336275 - [analyzer][ctu] fix unsortable diagnostics

2018-07-04 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Wed Jul 4 07:12:58 2018 New Revision: 336275 URL: http://llvm.org/viewvc/llvm-project?rev=336275&view=rev Log: [analyzer][ctu] fix unsortable diagnostics Summary: In the provided test case the PathDiagnostic compare function was not able to find a difference. Reviewers: x

r336269 - [ASTImporter] import macro source locations

2018-07-04 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Wed Jul 4 06:34:05 2018 New Revision: 336269 URL: http://llvm.org/viewvc/llvm-project?rev=336269&view=rev Log: [ASTImporter] import macro source locations Summary: Implement full import of macro expansion info with spelling and expansion locations. Reviewers: a.sidorin, k

r333417 - [analyzer] const init: handle non-explicit cases more accurately

2018-05-29 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Tue May 29 07:14:22 2018 New Revision: 333417 URL: http://llvm.org/viewvc/llvm-project?rev=333417&view=rev Log: [analyzer] const init: handle non-explicit cases more accurately Summary: If the access is out of bounds, return UndefinedVal. If it is missing an explicit init,

r333396 - Testing commit access with whitespace change.

2018-05-29 Thread Rafael Stahl via cfe-commits
Author: r.stahl Date: Tue May 29 01:12:15 2018 New Revision: 96 URL: http://llvm.org/viewvc/llvm-project?rev=96&view=rev Log: Testing commit access with whitespace change. Modified: cfe/trunk/lib/AST/ASTImporter.cpp Modified: cfe/trunk/lib/AST/ASTImporter.cpp URL: http://llvm.org/v