Page MenuHomePhabricator
Feed Advanced Search

Yesterday

balazske added a comment to D152436: [clang][analyzer] Move checker alpha.unix.StdCLibraryFunctions out of alpha..

These are reports that could be improved:
link
In this case function fileno returns -1 because of failure, but this is not indicated in a NoteTag. This is a correct result, only the note is missing. This problem can be solved if a note is displayed on every branch ("case") of the standard C functions. But this leads to many notes at un-interesting places. If the note is displayed only at "interesting" values another difficulty shows up: The note disappears from places where it should be shown because the "interestingness" is not set, for example at conditions of if statement. So the solution may require more work. This case with function fileno occurs 13 times in all the tested projects.

Could you elaborate on what do you mean by "The note disappears from places where it should be shown because the "interestingness" is not set, for example at conditions of if statement.". A short example would do the job I think.

I looked at the TPs, and if the violation was introduced by an assumption (instead of an assignment), then it's really hard to spot which assumption is important for the bug.
I wonder if we could add the TrackConstraintBRVisitor to the bugreport to "highlight" that particular assumption/place.

Fri, Jun 9, 7:41 AM · Restricted Project, Restricted Project

Thu, Jun 8

balazske added a comment to D152436: [clang][analyzer] Move checker alpha.unix.StdCLibraryFunctions out of alpha..

Another question is if default value of ModelPOSIX can be changed to true?

Thu, Jun 8, 5:35 AM · Restricted Project, Restricted Project
balazske added a comment to D152436: [clang][analyzer] Move checker alpha.unix.StdCLibraryFunctions out of alpha..

One deficiency is that some filenames of test files contain the old std-c-library-functions-arg name that is not used any more.

Thu, Jun 8, 5:34 AM · Restricted Project, Restricted Project
balazske added a comment to D152436: [clang][analyzer] Move checker alpha.unix.StdCLibraryFunctions out of alpha..

I could test the checker on these projects (CTU analysis was not used):
memcached,tmux,curl,twin,vim,openssl,sqlite,ffmpeg,postgres,tinyxml2,libwebm,xerces,bitcoin,protobuf,qtbase,contour,acid

Thu, Jun 8, 5:31 AM · Restricted Project, Restricted Project
balazske requested review of D152436: [clang][analyzer] Move checker alpha.unix.StdCLibraryFunctions out of alpha..
Thu, Jun 8, 5:26 AM · Restricted Project, Restricted Project

Tue, Jun 6

balazske committed rG2c60f9c8a4fd: [clang][analyzer] Add report of NULL stream to StreamChecker. (authored by balazske).
[clang][analyzer] Add report of NULL stream to StreamChecker.
Tue, Jun 6, 2:52 AM · Restricted Project, Restricted Project
balazske closed D152169: [clang][analyzer] Add report of NULL stream to StreamChecker..
Tue, Jun 6, 2:51 AM · Restricted Project, Restricted Project

Mon, Jun 5

balazske added inline comments to D152169: [clang][analyzer] Add report of NULL stream to StreamChecker..
Mon, Jun 5, 8:53 AM · Restricted Project, Restricted Project
balazske requested review of D152169: [clang][analyzer] Add report of NULL stream to StreamChecker..
Mon, Jun 5, 7:47 AM · Restricted Project, Restricted Project

Thu, Jun 1

balazske committed rG4f0436dd1532: [clang][analyzer] Merge apiModeling.StdCLibraryFunctions and… (authored by balazske).
[clang][analyzer] Merge apiModeling.StdCLibraryFunctions and…
Thu, Jun 1, 12:55 AM · Restricted Project, Restricted Project
balazske closed D151225: [clang][analyzer] Merge apiModeling.StdCLibraryFunctions and StdCLibraryFunctionArgs checkers into one..
Thu, Jun 1, 12:55 AM · Restricted Project, Restricted Project

Wed, May 31

balazske committed rGb0bab14b8b53: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch. (authored by balazske).
[clang-tidy] Add check bugprone-unique-ptr-array-mismatch.
Wed, May 31, 12:56 AM · Restricted Project, Restricted Project
balazske closed D151431: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch..
Wed, May 31, 12:56 AM · Restricted Project, Restricted Project

Tue, May 30

balazske updated the diff for D151431: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch..

removed check name in documentation code comment

Tue, May 30, 11:49 PM · Restricted Project, Restricted Project
balazske added a comment to D151225: [clang][analyzer] Merge apiModeling.StdCLibraryFunctions and StdCLibraryFunctionArgs checkers into one..

There are still some problems with dependencies, the ErrnoChecker really needs now the StdCLibraryFunctions checker (to be turned on and run before) but this is not enforced. The checker order looks to work but not enforced specially.

Tue, May 30, 8:04 AM · Restricted Project, Restricted Project
balazske updated the diff for D151225: [clang][analyzer] Merge apiModeling.StdCLibraryFunctions and StdCLibraryFunctionArgs checkers into one..

Updated documentation and removed occurrences of old checker name.

Tue, May 30, 7:59 AM · Restricted Project, Restricted Project

Fri, May 26

balazske added a comment to D151431: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch..

The case of fully dependent type (unique_ptr<T>) is not working in this checker and likely not in SharedPtrArrayMismatchCheck. I can fix this in a next patch (for both checkers).
Maybe we can remove the warning in all cases when the type is a POD type (or add a check option)?

Fri, May 26, 7:59 AM · Restricted Project, Restricted Project
balazske updated the diff for D151431: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch..

Fixed the documentation issue.
Added tests.

Fri, May 26, 7:53 AM · Restricted Project, Restricted Project

Thu, May 25

balazske requested review of D151431: [clang-tidy] Add check bugprone-unique-ptr-array-mismatch..
Thu, May 25, 5:17 AM · Restricted Project, Restricted Project

Tue, May 23

balazske added a reviewer for D151225: [clang][analyzer] Merge apiModeling.StdCLibraryFunctions and StdCLibraryFunctionArgs checkers into one.: gamesh411.
Tue, May 23, 9:12 AM · Restricted Project, Restricted Project
balazske requested review of D151225: [clang][analyzer] Merge apiModeling.StdCLibraryFunctions and StdCLibraryFunctionArgs checkers into one..
Tue, May 23, 8:52 AM · Restricted Project, Restricted Project

Thu, May 18

balazske committed rG4400ff587be2: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC) (authored by balazske).
[clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC)
Thu, May 18, 2:26 AM · Restricted Project, Restricted Project
balazske closed D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC).
Thu, May 18, 2:25 AM · Restricted Project, Restricted Project
balazske added inline comments to D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC).
Thu, May 18, 12:35 AM · Restricted Project, Restricted Project

Wed, May 17

balazske updated the diff for D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC).

Applied another review suggestion.

Wed, May 17, 8:57 AM · Restricted Project, Restricted Project
balazske committed rG6012cadc400f: [clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker (authored by balazske).
[clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker
Wed, May 17, 12:35 AM · Restricted Project, Restricted Project
balazske closed D149321: [clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker.
Wed, May 17, 12:34 AM · Restricted Project, Restricted Project

Tue, May 16

balazske committed rG258c9bebbdfa: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions (authored by balazske).
[clang][analyzer] Handle special value AT_FDCWD in affected standard functions
Tue, May 16, 12:29 AM · Restricted Project, Restricted Project
balazske closed D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions.
Tue, May 16, 12:29 AM · Restricted Project, Restricted Project

Mon, May 15

balazske added inline comments to D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC).
Mon, May 15, 8:02 AM · Restricted Project, Restricted Project
balazske updated the diff for D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC).

Applied review suggestions, removed the list of functions.

Mon, May 15, 7:53 AM · Restricted Project, Restricted Project

Fri, May 12

balazske committed rG80a21ea8006f: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC) (authored by balazske).
[clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC)
Fri, May 12, 12:55 AM · Restricted Project, Restricted Project
balazske closed D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).
Fri, May 12, 12:55 AM · Restricted Project, Restricted Project

May 11 2023

balazske updated the diff for D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).

Change of some type definitions, using restrict again.

May 11 2023, 8:37 AM · Restricted Project, Restricted Project
balazske added inline comments to D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).
May 11 2023, 3:12 AM · Restricted Project, Restricted Project

May 10 2023

balazske added inline comments to D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).
May 10 2023, 8:28 AM · Restricted Project, Restricted Project

May 3 2023

balazske added inline comments to D148381: [WIP][Clang] Add element_count attribute.
May 3 2023, 11:59 PM · Restricted Project, Restricted Project

May 2 2023

balazske committed rG852bf52cc957: [clang-tidy] Add check bugprone-multiple-new-in-one-expression. (authored by balazske).
[clang-tidy] Add check bugprone-multiple-new-in-one-expression.
May 2 2023, 3:30 AM · Restricted Project, Restricted Project
balazske added a reverting change for rG1aa36da15369: [clang-tidy] Add check bugprone-multiple-new-in-one-expression.: rG7b7a6b641afd: Revert "[clang-tidy] Add check bugprone-multiple-new-in-one-expression.".
May 2 2023, 2:24 AM · Restricted Project, Restricted Project
balazske committed rG7b7a6b641afd: Revert "[clang-tidy] Add check bugprone-multiple-new-in-one-expression." (authored by balazske).
Revert "[clang-tidy] Add check bugprone-multiple-new-in-one-expression."
May 2 2023, 2:24 AM · Restricted Project, Restricted Project
balazske added a reverting change for D138777: [clang-tidy] Add check bugprone-multiple-new-in-one-expression.: rG7b7a6b641afd: Revert "[clang-tidy] Add check bugprone-multiple-new-in-one-expression.".
May 2 2023, 2:24 AM · Restricted Project, Restricted Project
balazske added reviewers for D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC): Szelethus, gamesh411, NoQ.
May 2 2023, 2:06 AM · Restricted Project, Restricted Project
balazske committed rG1aa36da15369: [clang-tidy] Add check bugprone-multiple-new-in-one-expression. (authored by balazske).
[clang-tidy] Add check bugprone-multiple-new-in-one-expression.
May 2 2023, 2:00 AM · Restricted Project, Restricted Project
balazske closed D138777: [clang-tidy] Add check bugprone-multiple-new-in-one-expression..
May 2 2023, 2:00 AM · Restricted Project, Restricted Project

Apr 28 2023

balazske requested review of D149447: [clang][analyzer] Improve documentation of StdCLibraryFunctionArgs checker (NFC).
Apr 28 2023, 7:06 AM · Restricted Project, Restricted Project

Apr 27 2023

balazske added inline comments to D148381: [WIP][Clang] Add element_count attribute.
Apr 27 2023, 11:58 PM · Restricted Project, Restricted Project
balazske updated the diff for D149321: [clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker.

using "wihch" at argument values

Apr 27 2023, 7:46 AM · Restricted Project, Restricted Project
balazske requested review of D149321: [clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker.
Apr 27 2023, 1:02 AM · Restricted Project, Restricted Project
balazske added inline comments to D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions.
Apr 27 2023, 12:57 AM · Restricted Project, Restricted Project
balazske updated the diff for D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions.

using short way for getting macro value
added constraint description

Apr 27 2023, 12:54 AM · Restricted Project, Restricted Project

Apr 26 2023

balazske updated the diff for D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions.

added special argument condition function to remove code repetition

Apr 26 2023, 11:41 PM · Restricted Project, Restricted Project
balazske added inline comments to D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).
Apr 26 2023, 8:50 AM · Restricted Project, Restricted Project
balazske updated the diff for D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).

using __restrict instead of restrict

Apr 26 2023, 8:48 AM · Restricted Project, Restricted Project

Apr 25 2023

balazske added a reviewer for D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions: gamesh411.
Apr 25 2023, 8:36 AM · Restricted Project, Restricted Project
balazske added a reviewer for D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC): gamesh411.
Apr 25 2023, 8:35 AM · Restricted Project, Restricted Project
balazske updated the diff for D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions.

Fixed formatting problems.

Apr 25 2023, 8:26 AM · Restricted Project, Restricted Project
balazske requested review of D149160: [clang][analyzer] Handle special value AT_FDCWD in affected standard functions.
Apr 25 2023, 8:00 AM · Restricted Project, Restricted Project
balazske requested review of D149158: [clang][analyzer] Cleanup tests of StdCLibraryFunctionsChecker (NFC).
Apr 25 2023, 7:26 AM · Restricted Project, Restricted Project

Apr 13 2023

balazske added inline comments to D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.
Apr 13 2023, 5:23 AM · Restricted Project, Restricted Project
balazske committed rG9d0b55f0e4ca: [clang][ASTImporter] Fix import of typedef with unnamed structures (authored by balazske).
[clang][ASTImporter] Fix import of typedef with unnamed structures
Apr 13 2023, 12:26 AM · Restricted Project, Restricted Project
balazske closed D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.
Apr 13 2023, 12:25 AM · Restricted Project, Restricted Project

Apr 12 2023

balazske added inline comments to D138777: [clang-tidy] Add check bugprone-multiple-new-in-one-expression..
Apr 12 2023, 6:31 AM · Restricted Project, Restricted Project
balazske updated the diff for D138777: [clang-tidy] Add check bugprone-multiple-new-in-one-expression..

Simplified AST matchers a bit.
Added check for list-initialization syntax at constructor call.
Added some tests.
Updated documentation.

Apr 12 2023, 6:27 AM · Restricted Project, Restricted Project
balazske committed rGce1fb03db817: [clang][analyzer] Improve bug reports of StdLibraryFunctionsChecker. (authored by balazske).
[clang][analyzer] Improve bug reports of StdLibraryFunctionsChecker.
Apr 12 2023, 1:26 AM · Restricted Project, Restricted Project
balazske closed D144003: [clang][analyzer] Improve bug reports of StdLibraryFunctionsChecker..
Apr 12 2023, 1:25 AM · Restricted Project, Restricted Project

Apr 11 2023

balazske added inline comments to D138777: [clang-tidy] Add check bugprone-multiple-new-in-one-expression..
Apr 11 2023, 9:07 AM · Restricted Project, Restricted Project
balazske updated the diff for D138777: [clang-tidy] Add check bugprone-multiple-new-in-one-expression..

Fixed documentation issues.
Check is added to list.rst.

Apr 11 2023, 6:25 AM · Restricted Project, Restricted Project

Apr 4 2023

balazske updated the diff for D144003: [clang][analyzer] Improve bug reports of StdLibraryFunctionsChecker..

I decided to add back DescriptionKind and make possible to use a message like
"should not be NULL". Now all generated strings in functions describe and
describeArgumentValue start with "should be" or "is" to make this consistent.
The messages are now in form "is ... but should be ..." which sounds at some times
too trivial but acceptable as generated message.

Apr 4 2023, 8:33 AM · Restricted Project, Restricted Project

Apr 3 2023

balazske added a comment to D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.

ping
This is a solution for a problem at least until a better fix is found.

Apr 3 2023, 1:36 AM · Restricted Project, Restricted Project

Mar 27 2023

balazske committed rG1a35893d2a58: [clang][ASTImporter] Import typedefs to distinct records as distinct nodes. (authored by balazske).
[clang][ASTImporter] Import typedefs to distinct records as distinct nodes.
Mar 27 2023, 9:00 AM · Restricted Project, Restricted Project
balazske closed D145479: [clang][ASTImporter] Import typedefs to distinct records as distinct nodes..
Mar 27 2023, 9:00 AM · Restricted Project, Restricted Project
balazske retitled D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures from [clang][ASTImporter] Fix import of anonymous structures to [clang][ASTImporter] Fix import of typedef with unnamed structures.
Mar 27 2023, 6:24 AM · Restricted Project, Restricted Project

Mar 23 2023

balazske added a comment to D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.

Hi @balazske , all LIT and unittests pass with this change. By your logic, then we are missing some LIT or unittest cases that support your statement. Can you think of a case that demonstrates this? Thanks!

Mar 23 2023, 8:44 AM · Restricted Project, Restricted Project

Mar 15 2023

balazske updated the diff for D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.

Added a simple test and another test.
Instead of calling getTypeDeclType only the reuse of existing type is done
(this was the part that fixes the problem). In this way the underlying type
is still imported. The result is not correct but fixes some crash.

Mar 15 2023, 7:21 AM · Restricted Project, Restricted Project

Mar 14 2023

balazske added a comment to D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.

The problem is somewhat bigger and not fast to fix. This test shows what is problematic:

TEST_P(ASTImporterOptionSpecificTestBase,
       ImportExistingTypedefToUnnamedRecordPtr) {
  const char *Code =
      R"(
      typedef const struct { int fff; } * const T;
      extern T x;
      )";
  Decl *ToTU = getToTuDecl(Code, Lang_C99);
  Decl *FromTU = getTuDecl(Code, Lang_C99);
Mar 14 2023, 7:17 AM · Restricted Project, Restricted Project
balazske accepted D145057: [clang][ASTImport] Add support for import of empty records.

There are some unresolved comments in the test (cast is not needed at Import and EXPECT_TRUE can be used) but otherwise LGTM.
(But I have a feeling that problems may happen with attributes like GuardedByAttr if these are imported before the field is added to the record. Probably it is better to only import the NoUniqueAddressAttr in VisitFieldDecl.)

Mar 14 2023, 3:33 AM · Restricted Project, Restricted Project, Restricted Project

Mar 13 2023

balazske commandeered D145868: [clang][ASTImporter] Fix import of typedef with unnamed structures.

My opinion is that we can not omit importing the "underlying type". The TypedefType has the type of the declaration (type of getDecl()) and the "underlying type" that may be different (this is the thing that comes from commit D133468). This is exactly different if TypedefType::typeMatchesDecl() (returns a stored value in TypedefType) returns true. In this case the type object is stored in the TypedefType node and is not the same as the type of declaration getDecl(). If function getTypeDeclType is used it creates the typedef type always with the type of getDecl() and the typeMatchesDecl will always return true for this type even if at the to-be-imported type it was false.

Mar 13 2023, 4:59 AM · Restricted Project, Restricted Project

Mar 10 2023

balazske updated the diff for D144003: [clang][analyzer] Improve bug reports of StdLibraryFunctionsChecker..

Change format of bug reports.
Now the problem is shown first, then the acceptable values.
Sometimes the messages can become too verbose (in case of
"should be NULL") or grammatically not totally correct,
I can not tell if this is acceptable but this was the most
simple implementation.

Mar 10 2023, 9:39 AM · Restricted Project, Restricted Project
balazske added reviewers for D145479: [clang][ASTImporter] Import typedefs to distinct records as distinct nodes.: donat.nagy, gamesh411.
Mar 10 2023, 12:37 AM · Restricted Project, Restricted Project

Mar 9 2023

balazske committed rG353155a1a507: [clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker. (authored by balazske).
[clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker.
Mar 9 2023, 2:56 AM · Restricted Project, Restricted Project
balazske closed D143751: [clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker..
Mar 9 2023, 2:56 AM · Restricted Project, Restricted Project

Mar 7 2023

balazske added inline comments to D145057: [clang][ASTImport] Add support for import of empty records.
Mar 7 2023, 6:41 AM · Restricted Project, Restricted Project, Restricted Project
balazske added inline comments to D145057: [clang][ASTImport] Add support for import of empty records.
Mar 7 2023, 6:39 AM · Restricted Project, Restricted Project, Restricted Project
balazske requested review of D145479: [clang][ASTImporter] Import typedefs to distinct records as distinct nodes..
Mar 7 2023, 12:48 AM · Restricted Project, Restricted Project

Mar 6 2023

balazske committed rG29a4ed80bb4c: [clang][ASTImporter] Add VaList declaration to lookup table. (authored by balazske).
[clang][ASTImporter] Add VaList declaration to lookup table.
Mar 6 2023, 12:33 AM · Restricted Project, Restricted Project
balazske closed D144273: [clang][ASTImporter] Add VaList declaration to lookup table..
Mar 6 2023, 12:32 AM · Restricted Project, Restricted Project

Mar 3 2023

balazske updated the diff for D143751: [clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker..

rebase, reformatted code

Mar 3 2023, 9:06 AM · Restricted Project, Restricted Project
balazske updated the diff for D143751: [clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker..

changed comments, small variable rename

Mar 3 2023, 8:40 AM · Restricted Project, Restricted Project
balazske added a comment to D144273: [clang][ASTImporter] Add VaList declaration to lookup table..

The new test should be better, it imports the f function without new and no VaList should exist in the imported translation unit. It looks like the test.cpp is appended to the AST after the import of the other files. I changed function CreateVaListDecl to always use the AArch64 create function, the test did not fail.

Mar 3 2023, 3:37 AM · Restricted Project, Restricted Project
balazske updated the diff for D144273: [clang][ASTImporter] Add VaList declaration to lookup table..

Changed the lit test.

Mar 3 2023, 3:32 AM · Restricted Project, Restricted Project
balazske committed rG27ab138c69fc: [clang][ASTImporter] Import TemplateName correctly (authored by balazske).
[clang][ASTImporter] Import TemplateName correctly
Mar 3 2023, 12:17 AM · Restricted Project, Restricted Project
balazske closed D144622: [clang][ASTImporter] Import TemplateName correctly.
Mar 3 2023, 12:17 AM · Restricted Project, Restricted Project

Mar 2 2023

balazske added inline comments to D145057: [clang][ASTImport] Add support for import of empty records.
Mar 2 2023, 7:45 AM · Restricted Project, Restricted Project, Restricted Project
balazske added inline comments to D143751: [clang][analyzer][NFC] Refactor code of StdLibraryFunctionsChecker..
Mar 2 2023, 6:51 AM · Restricted Project, Restricted Project

Mar 1 2023

balazske updated the diff for D144622: [clang][ASTImporter] Import TemplateName correctly.

Updated the test.

Mar 1 2023, 8:54 AM · Restricted Project, Restricted Project
balazske added a comment to D144273: [clang][ASTImporter] Add VaList declaration to lookup table..

A tried to find out how to add a correct test but could not check if this fails or not on AArch64 platform. The test should import the va_list declarations and then another variable std. I want to touch ASTContext only if a test failure is found on AArch64 that makes it necessary. In that case I would add a non-modifying function getVaListTagDeclIfExists, another option is to change all other simiar get functions to "getOrCreate" form to have consistent API.

Mar 1 2023, 8:02 AM · Restricted Project, Restricted Project
balazske updated the diff for D144273: [clang][ASTImporter] Add VaList declaration to lookup table..

Add a test.

Mar 1 2023, 7:53 AM · Restricted Project, Restricted Project
balazske retitled D144622: [clang][ASTImporter] Import TemplateName correctly from [clang[[ASTImporter] Import TemplateName correctly to [clang][ASTImporter] Import TemplateName correctly.
Mar 1 2023, 1:44 AM · Restricted Project, Restricted Project
balazske committed rGfeba03340cf3: [clang][ASTImporter] Improve import of InjectedClassNameType. (authored by balazske).
[clang][ASTImporter] Improve import of InjectedClassNameType.
Mar 1 2023, 12:27 AM · Restricted Project, Restricted Project
balazske closed D140562: [clang][ASTImporter] Improve import of InjectedClassNameType..
Mar 1 2023, 12:26 AM · Restricted Project, Restricted Project