Author: kastiglione
Date: Thu Aug 31 14:18:27 2017
New Revision: 312283
URL: http://llvm.org/viewvc/llvm-project?rev=312283&view=rev
Log:
Register linkageSpecDecl matcher
Summary:
This allows `linkageSpecDecl` to be used from `clang-query`.
See also D31869 which similary adds `isStaticStorageCla
Author: kastiglione
Date: Sun Sep 10 14:00:15 2017
New Revision: 312889
URL: http://llvm.org/viewvc/llvm-project?rev=312889&view=rev
Log:
Add objcImplementationDecl matcher
Summary:
Add the `objcImplementationDecl` matcher. See related: D30854
Tested with:
```
./tools/clang/unittests/ASTMatcher
Author: kastiglione
Date: Fri Sep 22 09:58:57 2017
New Revision: 313997
URL: http://llvm.org/viewvc/llvm-project?rev=313997&view=rev
Log:
[index] Generate class & metaclass manglings for objc
Summary:
ObjC classes have two associated symbols, one for the class and one for the
metaclass.
This cha
Author: Dave Lee
Date: 2022-02-03T15:16:31-08:00
New Revision: 65aa47301372b0f46d69977eb87aec60976e8246
URL:
https://github.com/llvm/llvm-project/commit/65aa47301372b0f46d69977eb87aec60976e8246
DIFF:
https://github.com/llvm/llvm-project/commit/65aa47301372b0f46d69977eb87aec60976e8246.diff
LOG:
Author: Dave Lee
Date: 2022-07-13T16:56:53-07:00
New Revision: b5ccfeb6bfbbc5436b91a1e317f88e2c499c9306
URL:
https://github.com/llvm/llvm-project/commit/b5ccfeb6bfbbc5436b91a1e317f88e2c499c9306
DIFF:
https://github.com/llvm/llvm-project/commit/b5ccfeb6bfbbc5436b91a1e317f88e2c499c9306.diff
LOG:
https://github.com/kastiglione created
https://github.com/llvm/llvm-project/pull/85425
Move CCC_OVERRIDE_OPTIONS support to clangDriver so that it may be used outside
of the clang driver binary.
The override functionality will be used in LLDB, to apply adjustments to
ClangImporter flags. This w
https://github.com/kastiglione edited
https://github.com/llvm/llvm-project/pull/85425
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -6677,3 +6678,136 @@ llvm::Error
driver::expandResponseFiles(SmallVectorImpl &Args,
return llvm::Error::success();
}
+
+namespace {
+
+const char *GetStableCStr(std::set &SavedStrings, StringRef S) {
+ return SavedStrings.insert(std::string(S)).first->c_str();
+}
+
+///
https://github.com/kastiglione updated
https://github.com/llvm/llvm-project/pull/85425
>From c9a98ad15aa63c445e68b56621f5a1c8f0fc4219 Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Thu, 14 Mar 2024 18:44:17 -0700
Subject: [PATCH 1/2] [clang] Move CCC_OVERRIDE_OPTIONS implementation to
Driver
M
@@ -6677,3 +6678,136 @@ llvm::Error
driver::expandResponseFiles(SmallVectorImpl &Args,
return llvm::Error::success();
}
+
+namespace {
+
+const char *GetStableCStr(std::set &SavedStrings, StringRef S) {
+ return SavedStrings.insert(std::string(S)).first->c_str();
+}
+
+///
@@ -6677,3 +6678,136 @@ llvm::Error
driver::expandResponseFiles(SmallVectorImpl &Args,
return llvm::Error::success();
}
+
+namespace {
+
+const char *GetStableCStr(std::set &SavedStrings, StringRef S) {
+ return SavedStrings.insert(std::string(S)).first->c_str();
+}
+
+///
@@ -87,6 +87,7 @@
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/RISCVISAInfo.h"
+#include "llvm/Support/Regex.h"
kastiglione wrote:
thanks for catching that
https://github.com/llvm/llvm-project/pull/85425
_
https://github.com/kastiglione updated
https://github.com/llvm/llvm-project/pull/85425
>From c9a98ad15aa63c445e68b56621f5a1c8f0fc4219 Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Thu, 14 Mar 2024 18:44:17 -0700
Subject: [PATCH 1/3] [clang] Move CCC_OVERRIDE_OPTIONS implementation to
Driver
M
https://github.com/kastiglione updated
https://github.com/llvm/llvm-project/pull/85425
>From c9a98ad15aa63c445e68b56621f5a1c8f0fc4219 Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Thu, 14 Mar 2024 18:44:17 -0700
Subject: [PATCH 1/4] [clang] Move CCC_OVERRIDE_OPTIONS implementation to
Driver
M
@@ -6677,3 +6678,136 @@ llvm::Error
driver::expandResponseFiles(SmallVectorImpl &Args,
return llvm::Error::success();
}
+
+namespace {
+
+const char *GetStableCStr(std::set &SavedStrings, StringRef S) {
+ return SavedStrings.insert(std::string(S)).first->c_str();
+}
+
+///
https://github.com/kastiglione updated
https://github.com/llvm/llvm-project/pull/85425
>From c9a98ad15aa63c445e68b56621f5a1c8f0fc4219 Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Thu, 14 Mar 2024 18:44:17 -0700
Subject: [PATCH 1/6] [clang] Move CCC_OVERRIDE_OPTIONS implementation to
Driver
M
@@ -6677,3 +6678,134 @@ llvm::Error
driver::expandResponseFiles(SmallVectorImpl &Args,
return llvm::Error::success();
}
+
+namespace {
+
+const char *GetStableCStr(std::set &SavedStrings, StringRef S) {
kastiglione wrote:
fixed
https://github.com/llvm/llv
@@ -839,6 +839,13 @@ llvm::Error expandResponseFiles(SmallVectorImpl &Args,
bool ClangCLMode, llvm::BumpPtrAllocator
&Alloc,
llvm::vfs::FileSystem *FS = nullptr);
+/// Apply a space separated list of edits to the
https://github.com/kastiglione closed
https://github.com/llvm/llvm-project/pull/85425
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kastiglione edited
https://github.com/llvm/llvm-project/pull/86806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1517,7 +1517,7 @@ def buildLibrary(self, sources, lib_name):
"DYLIB_NAME": lib_name,
"CFLAGS_EXTRAS": "%s -I%s "
% (stdflag, os.path.join(os.environ["LLDB_SRC"], "include")),
-"LD_EXTRAS": "-shared -l%s\liblldb
https://github.com/kastiglione commented:
lldb/package looks good, thanks.
lldb/examples I trust
lldb/test I or someone else will look at soon.
https://github.com/llvm/llvm-project/pull/86806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
Author: Dave Lee
Date: 2020-09-21T10:23:17-07:00
New Revision: b36bdfe5ca0c2b863248f327b03d41516b38dc11
URL:
https://github.com/llvm/llvm-project/commit/b36bdfe5ca0c2b863248f327b03d41516b38dc11
DIFF:
https://github.com/llvm/llvm-project/commit/b36bdfe5ca0c2b863248f327b03d41516b38dc11.diff
LOG:
Author: Dave Lee
Date: 2020-09-21T10:23:17-07:00
New Revision: b36bdfe5ca0c2b863248f327b03d41516b38dc11
URL:
https://github.com/llvm/llvm-project/commit/b36bdfe5ca0c2b863248f327b03d41516b38dc11
DIFF:
https://github.com/llvm/llvm-project/commit/b36bdfe5ca0c2b863248f327b03d41516b38dc11.diff
LOG:
Author: Dave Lee
Date: 2020-10-14T17:21:56-07:00
New Revision: 4cb4db11ee1323c5d4bf66d21deb046970f4e516
URL:
https://github.com/llvm/llvm-project/commit/4cb4db11ee1323c5d4bf66d21deb046970f4e516
DIFF:
https://github.com/llvm/llvm-project/commit/4cb4db11ee1323c5d4bf66d21deb046970f4e516.diff
LOG:
Author: Dave Lee
Date: 2020-10-17T00:15:34-07:00
New Revision: 5564ee495bddeb12d3a9a617631cfa478cf67959
URL:
https://github.com/llvm/llvm-project/commit/5564ee495bddeb12d3a9a617631cfa478cf67959
DIFF:
https://github.com/llvm/llvm-project/commit/5564ee495bddeb12d3a9a617631cfa478cf67959.diff
LOG:
Author: Dave Lee
Date: 2021-11-02T10:47:44-07:00
New Revision: 5a892be237a20002c88a80b618e6f5febfd7a4f6
URL:
https://github.com/llvm/llvm-project/commit/5a892be237a20002c88a80b618e6f5febfd7a4f6
DIFF:
https://github.com/llvm/llvm-project/commit/5a892be237a20002c88a80b618e6f5febfd7a4f6.diff
LOG:
Author: Dave Lee
Date: 2023-08-15T10:33:09-07:00
New Revision: f7f3e68419683f1498dcd93a9a3c86833b199e9c
URL:
https://github.com/llvm/llvm-project/commit/f7f3e68419683f1498dcd93a9a3c86833b199e9c
DIFF:
https://github.com/llvm/llvm-project/commit/f7f3e68419683f1498dcd93a9a3c86833b199e9c.diff
LOG:
Author: Dave Lee
Date: 2023-08-15T10:36:00-07:00
New Revision: 6c36a70828d9f59cfd205cead109db3a79b50647
URL:
https://github.com/llvm/llvm-project/commit/6c36a70828d9f59cfd205cead109db3a79b50647
DIFF:
https://github.com/llvm/llvm-project/commit/6c36a70828d9f59cfd205cead109db3a79b50647.diff
LOG:
Author: kastiglione
Date: Thu Oct 26 08:53:37 2017
New Revision: 316670
URL: http://llvm.org/viewvc/llvm-project?rev=316670&view=rev
Log:
Add objcCategoryImplDecl matcher
Summary:
Add `objcCategoryImplDecl` which matches ObjC category definitions
(`@implementation`). This matcher complements `obj
Author: kastiglione
Date: Mon Nov 6 13:18:05 2017
New Revision: 317511
URL: http://llvm.org/viewvc/llvm-project?rev=317511&view=rev
Log:
Vary Windows toolchain selection by -fuse-ld
Summary:
This change allows binutils to be used for linking with MSVC. Currently, when
using an MSVC target and `-
Author: kastiglione
Date: Sat Nov 11 14:46:15 2017
New Revision: 317992
URL: http://llvm.org/viewvc/llvm-project?rev=317992&view=rev
Log:
Add ObjC exception statement AST matchers
Summary: Add AST matchers for Objective-C @throw, @try, @catch and @finally.
Reviewers: aaron.ballman, malcolm.parso
Author: kastiglione
Date: Sat Nov 11 15:53:27 2017
New Revision: 317993
URL: http://llvm.org/viewvc/llvm-project?rev=317993&view=rev
Log:
Fix AST matcher documentation typo
Modified:
cfe/trunk/docs/LibASTMatchersReference.html
cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
Modified: c
Author: kastiglione
Date: Tue Nov 14 06:17:26 2017
New Revision: 318152
URL: http://llvm.org/viewvc/llvm-project?rev=318152&view=rev
Log:
Make isDefinition matcher support ObjCMethodDecl
Summary:
Allow the `isDefinition()` matcher to apply to `ObjCMethodDecl` nodes, in
addition to those it alread
Author: kastiglione
Date: Fri Nov 17 08:27:21 2017
New Revision: 318529
URL: http://llvm.org/viewvc/llvm-project?rev=318529&view=rev
Log:
Fix skipping of flags in getClangStripDependencyFileAdjuster
Summary:
The ArgumentsAdjuster returned from `getClangStripDependencyFileAdjuster` will
skip depen
Author: Dave Lee
Date: 2023-03-31T15:56:09-07:00
New Revision: ba6e747f9b05e541e88822e1dbd6bd5424cfe2fb
URL:
https://github.com/llvm/llvm-project/commit/ba6e747f9b05e541e88822e1dbd6bd5424cfe2fb
DIFF:
https://github.com/llvm/llvm-project/commit/ba6e747f9b05e541e88822e1dbd6bd5424cfe2fb.diff
LOG:
kastiglione created this revision.
kastiglione added a reviewer: cfe-commits.
Expose a warning flag for `warn_duplicate_protocol_def`. This allows control
over the severity of duplicate protocol definitions.
For example `-Werror=duplicate-protocol` or
`#pragma clang diagnostic ignored "-Wduplicat
kastiglione added a comment.
@arphaman I wondered whether this called for a test. I'm happy to add one just
like that.
https://reviews.llvm.org/D26406
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/lis
kastiglione updated this revision to Diff 77232.
kastiglione added a comment.
Added test
https://reviews.llvm.org/D26406
Files:
include/clang/Basic/DiagnosticSemaKinds.td
test/Misc/warning-flags.c
test/SemaObjC/check-dup-objc-decls-1.m
Index: test/SemaObjC/check-dup-objc-decls-1.m
=
kastiglione added a comment.
Thanks @arphaman, are you able to commit this?
https://reviews.llvm.org/D26406
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kastiglione added a comment.
@arphaman Is the summary here sufficient, or should I elaborate in some way?
I'm fine with this summary if you are.
https://reviews.llvm.org/D26406
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.ll
kastiglione added a comment.
Thank you @klimek.
http://reviews.llvm.org/D12471
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kastiglione created this revision.
kastiglione added a reviewer: modocache.
kastiglione added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
Currently, the documentation for `numSelectorArgs` includes an incorrect
example. It shows a case where an argument of 1 will match a propert
kastiglione added inline comments.
Comment at: include/clang/ASTMatchers/ASTMatchers.h:2140-2153
@@ -2139,16 +2139,16 @@
/// \brief Matches when the selector has the specified number of arguments
///
-/// matcher = objCMessageExpr(numSelectorArgs(1));
+/// matcher = objCMess
kastiglione updated this revision to Diff 33665.
kastiglione added a comment.
Add test case for numSelectorArgs(0)
http://reviews.llvm.org/D12471
Files:
include/clang/ASTMatchers/ASTMatchers.h
unittests/ASTMatchers/ASTMatchersTest.cpp
Index: unittests/ASTMatchers/ASTMatchersTest.cpp
==
kastiglione marked 2 inline comments as done.
kastiglione added a comment.
http://reviews.llvm.org/D12471
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kastiglione added a comment.
Thanks @klimek! There's certainly no rush on a diff like this :P
http://reviews.llvm.org/D12471
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -673,6 +673,9 @@ option(LLVM_USE_OPROFILE
option(LLVM_EXTERNALIZE_DEBUGINFO
"Generate dSYM files and strip executables and libraries (Darwin Only)" OFF)
+option(LLVM_ENABLE_NO_EXPORTED_SYMBOLS
kastiglione wrote:
should the name reflect the opposite of th
kastiglione wrote:
Thanks for adding this! I've been using `CMAKE_EXE_LINKER_FLAGS` to
`-Wl,-no_exported_symbols`, and have had no problems.
https://github.com/llvm/llvm-project/pull/87684
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
@@ -1029,6 +1038,16 @@ macro(add_llvm_executable name)
add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
endif(LLVM_EXPORTED_SYMBOL_FILE)
+ if (NOT LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES)
+if(LLVM_LINKER_SUPPORTS_NO_EXPORTED_SYMBOLS)
+ set_p
@@ -492,8 +492,23 @@ static std::string getModuleContextHash(const ModuleDeps
&MD,
auto &FSOpts = const_cast(CI.getFileSystemOpts());
if (CWD && !IgnoreCWD)
HashBuilder.add(*CWD);
- else
+ else {
FSOpts.WorkingDir.clear();
+auto &CGOpts = const_cast(CI.getCo
https://github.com/kastiglione commented:
It makes sense on the surface. I'll pull this change and run lldb tests.
https://github.com/llvm/llvm-project/pull/128446
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
https://github.com/kastiglione edited
https://github.com/llvm/llvm-project/pull/128446
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
53 matches
Mail list logo