Skip to content
Snippets Groups Projects
  • Mike Spertus's avatar
    ca2d0f94
    Visual Studio Native Visualizations for constructors and methods · ca2d0f94
    Mike Spertus authored
    With this change, the class
    
      struct A {
        A(int _i);
        ~A();
        int foo(double d);
        double bar(A *a) { return 1.3; }
      };
    
    appears in the VS2015 Locals Window as
    
    D              0x02dbb378 struct A
    |- DeclKind    CXXRecord
    |- Members
     |- [0]        implicit struct A
     |- [1]        Constructor {A(int _i)}
     |- [2]        Destructor {~A()}
     |- [3]        Method {int foo(double d)}
     |- [4]        Method {double bar(struct A *)}
    |- [Raw View]  /* Other stuff */
    
    Note that these changes only benefit VS2015 as
    VS2013 does not have views and only displays the
    struct name "A", but the change does no apparent
    harm in VS2013, so is still a win.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264020 91177308-0d34-0410-b5e6-96231b3b80d8
    ca2d0f94
    History
    Visual Studio Native Visualizations for constructors and methods
    Mike Spertus authored
    With this change, the class
    
      struct A {
        A(int _i);
        ~A();
        int foo(double d);
        double bar(A *a) { return 1.3; }
      };
    
    appears in the VS2015 Locals Window as
    
    D              0x02dbb378 struct A
    |- DeclKind    CXXRecord
    |- Members
     |- [0]        implicit struct A
     |- [1]        Constructor {A(int _i)}
     |- [2]        Destructor {~A()}
     |- [3]        Method {int foo(double d)}
     |- [4]        Method {double bar(struct A *)}
    |- [Raw View]  /* Other stuff */
    
    Note that these changes only benefit VS2015 as
    VS2013 does not have views and only displays the
    struct name "A", but the change does no apparent
    harm in VS2013, so is still a win.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264020 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.