@@ -1243,12 +1247,19 @@ bool
ASTUnit::Parse(std::shared_ptr PCHContainerOps,
}
std::unique_ptr Act(
- new TopLevelDeclTrackerAction(*this));
+ new TopLevelDeclTrackerAction(*this, true));
giulianobelinassi wrote:
The problem is that when you ar
@@ -1243,12 +1247,19 @@ bool
ASTUnit::Parse(std::shared_ptr PCHContainerOps,
}
std::unique_ptr Act(
- new TopLevelDeclTrackerAction(*this));
+ new TopLevelDeclTrackerAction(*this, true));
cor3ntin wrote:
Moreover, can you explain the "reuse pr
@@ -1243,12 +1247,19 @@ bool
ASTUnit::Parse(std::shared_ptr PCHContainerOps,
}
std::unique_ptr Act(
- new TopLevelDeclTrackerAction(*this));
+ new TopLevelDeclTrackerAction(*this, true));
shafik wrote:
We should use
[bugprone-argument-comment]
https://github.com/giulianobelinassi updated
https://github.com/llvm/llvm-project/pull/105591
>From 3a1a241f925e7b6dcc6c8701ab83b5fb04f18853 Mon Sep 17 00:00:00 2001
From: Giuliano Belinassi
Date: Wed, 21 Aug 2024 18:31:36 -0300
Subject: [PATCH] Fix the behavior of __COUNT__ macros when PCH is
https://github.com/giulianobelinassi updated
https://github.com/llvm/llvm-project/pull/105591
>From 914427af9b83848ac395bbff663133aadf387161 Mon Sep 17 00:00:00 2001
From: Giuliano Belinassi
Date: Wed, 21 Aug 2024 18:31:36 -0300
Subject: [PATCH] Fix the behavior of __COUNT__ macros when PCH is
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff ab86fc74c04ff508f909b7b6131df1551dd833fc
259653e147aff62c70dd2c16d46886ae2c92412d --e
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
@llvm/pr-subscribers-clang
Author: Giuliano Belinassi (giulianobelinassi)
Changes
Previoulsy, calling `ASTUnit::LoadFromCompilerInvocation` with
`PrecompilePreambleAfterNParses > 0` caused the `__COUNT__` macro value to
be restarted. Thi
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/giulianobelinassi created
https://github.com/llvm/llvm-project/pull/105591
Previoulsy, calling `ASTUnit::LoadFromCompilerInvocation` with
`PrecompilePreambleAfterNParses > 0` caused the `__COUNT__` macro value to be
restarted. This commit fixes this by remembering the value