Skip to content

Pointer star of a const pointer template argument is tokenized as CT_ARITH #1286

Closed

Description

@mihaipopescu

Expected versus output diff:

diff --git "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60029-UNI-21510.cpp" "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60029-UNI-21510.cpp"
index de55b95..d490538 100644
--- "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60029-UNI-21510.cpp"
+++ "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60029-UNI-21510.cpp"
@@ -1 +1 @@
-typedef std::pair<Type* const, TypeB> Object;
+typedef std::pair<Type * const, TypeB> Object;

Debug support files:

60029-UNI-21510.cpp
60029-UNI-21510.cpp.log
60029-UNI-21510.cpp.unc
Uncrustify.Cpp.cfg
UNI-21510.cpp

Disclaimer:

Note: This is a generated issue from our internal issue tracker.
Expect a dry description which could be insufficient to properly understand the issue.
On the other hand, the support files should be sufficient to easily reproduce and debug the issue,
but please comment if it's still unclear and I will get back with clarifications.
See main discussion thread here #1223.

Activity

  1. added a commit that references this issue on Nov 3, 2017
  2. added a commit that references this issue on Nov 7, 2017
  3. gmaurel commented on Jan 24, 2018

    @gmaurel
    Collaborator

    Fixed at 927e4a8, Dec 5 14:54:30 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions