Skip to content

Extra space added after namespace resolution operator for return type of a friend function #1288

Closed

Description

@mihaipopescu

Expected versus output diff:

diff --git "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60031-UNI-21728.cpp" "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60031-UNI-21728.cpp"
index 94444cf..1917062 100644
--- "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60031-UNI-21728.cpp"
+++ "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60031-UNI-21728.cpp"
@@ -1 +1 @@
-friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o);
+friend std ::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o);

Debug support files:

60031-UNI-21728.cpp
60031-UNI-21728.cpp.log
60031-UNI-21728.cpp.unc
Uncrustify.Cpp.cfg
UNI-21728.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. guy-maurel commented on Nov 26, 2017

    @guy-maurel
    Contributor

    #1456 is a bugfix proposal
    Please test it and report

  2. added a commit that references this issue on Nov 28, 2017
  3. gmaurel commented on Nov 28, 2017

    @gmaurel
    Collaborator

    The bug #1288 is fixed.

  4. spuppala-rythmos commented on Dec 26, 2017

    @spuppala-rythmos

    In unity fork this issue is addressed with below PR
    Unity-Technologies#30

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