User Details
- User Since
- May 27 2014, 6:39 AM (461 w, 4 d)
Thu, Mar 16
Thanks for the review!
Wed, Mar 8
Adding folks involved with LTO. The problem is that stats emitted during the first round of compilation are likely to be overwritten by stats emitted during [Thin]LTO itself. Not touching it now to preserve the existing behavior. But wanted to inform you about this shortcoming in case it is important for you to fix.
Don't touch LTO pipeline to avoid breaking existing workflows.
Mar 1 2023
Append to stats file when using CC_PRINT_INTERNAL_STAT and for LTO when reusing the same stats file.
Feb 28 2023
Feb 24 2023
Sorry, forgot to ask the first time. This change is for Clang modules and not for C++20 modules, right? Asking because believe C++20 modules have standard-enforced module names.
This is a pretty big change and there are no tests added. I haven't thought how and if these changes can be tested. Have you considered how the automated testing should be done?
Feb 22 2023
Thanks for the review!
Feb 15 2023
Jan 20 2023
Thanks for the review, Bruno!
Jan 19 2023
Jan 18 2023
setODRHash(0) for consistency, mention the change in Potentially Breaking Changes.
Thanks for the review!
Jan 17 2023
Rebase and add assertion in ODRHash::AddRecordDecl.
Rebase the patch and trigger pre-commit checks.
Thanks for the review, Florian!
Jan 16 2023
Ping. Also checked the change on a bunch of internal Objective-C/C code using modules - no new errors.
Ping.
Jan 13 2023
Confirm that for me on macOS without the fix the test is failing every time, so the test seems to be totally sufficient.
Jan 10 2023
Want to note that originally the issue was noticed with the modules because we serialize and deserialize PointerTypeLoc::starLoc and on deserialization we assert if the value is too big. With uninitialized memory the value can be too big sometimes and clang was failing intermittently. For testing don't use modules anymore and call PointerTypeLoc::getStarLoc directly to make it simpler and more reliable.
Doing this minor clean-up for D141424.
clang-format the change.
Jan 6 2023
Thanks for the review!
Serialize/deserialize ObjCInterfaceTypeLoc::NameEndLoc as it is used in diagnostic about a mismatching superclass.
Rebase.
Dec 15 2022
Test case MergeLambdas3.cppm is unstable. Sometimes it passes but usually it fails.
This is my first and pretty shallow review pass. Need to read the standard more thoroughly to be more useful. Others are welcome to chime in (and as I'll be on vacation are encouraged to chime in).
Dec 14 2022
Implement detecting and diagnosing duplicates during parsing based on ODR hash done during deserialization.
Superseded by D140073.
As I've mentioned CXXRecordDecl::dataPtr, the relevant code is https://github.com/llvm/llvm-project/blob/bc63a393262dd278d2f12153c30f8e6ea06a2450/clang/include/clang/AST/DeclCXX.h#L441-L442
If anybody is curious about anonymous structs/unions, the relevant change is D140055.
Rebase and use ODRDiagsEmitter. Add more tests.
Dec 8 2022
From my experience, ShowInSystemHeader for -Rmodule-build is overall useful. I haven't heard from people who want no remarks from system headers and the rest is just hypothetical guesses that can go both ways (some people might like one option while some people might like another option).
Dec 2 2022
Thanks for the review!
Nov 29 2022
To help folks digging up the history, the code in driver was introduced in https://reviews.llvm.org/D11322 and the test case added in "test/Index/warning-flags.c" requires the change in "clang/tools/libclang/CIndex.cpp", that's why I don't have any extra test changes.
Ok, I was able to reproduce the error on macOS by adding -target x86_64-sie-ps5 to one of commands in "clang/test/ClangScanDeps/Inputs/no-werror.json" (wouldn't mind receiving PS5 DevKit, by the way). The problem is that Driver::BuildCompilation overwrites DiagnosticsEngine::IgnoreAllWarnings ignoring everything specified in DiagnosticOptions::IgnoreWarnings. Thus we still emit the warning despite asking in DiagnosticOptions not to. D138970 fixes this situation and relies on DiagnosticOptions to set diagnostic options.
Nov 28 2022
Thanks for the reviews!
This patch builds on top of D135472 and aims to show that hashing attributes with TableGen works fine and doesn't have unexpected problems.
Ping.
Nov 24 2022
Thanks for the quick review! During the commit I will also fix the typo s/there a no overrides/there are no overrides/
Nov 23 2022
Nov 22 2022
Nov 17 2022
Thanks for reviews! It was a long journey.
Should admit that approach with DiagOpts.IgnoreWarnings is pretty blunt but I'm not aware of any reasons to use something more elaborate, like stripping away all -Werror=... flags. So going with a simple change.
Thanks for the review!
Nov 10 2022
Ping.
Ping.
Oct 26 2022
Rebase and diagnose attribute mismatch for function parameters.
Oct 25 2022
The issue is addressed in D133586.