Skip to content
Snippets Groups Projects
Commit 80ae3665 authored by Daniel Grumberg's avatar Daniel Grumberg
Browse files

[clang][extract-api] Emit "navigator" property of "name" in SymbolGraph

Differential Revision: https://reviews.llvm.org/D123391
parent eb4d5b85
No related branches found
No related tags found
No related merge requests found
Showing
with 440 additions and 3 deletions
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "clang/ExtractAPI/Serialization/SymbolGraphSerializer.h" #include "clang/ExtractAPI/Serialization/SymbolGraphSerializer.h"
#include "clang/Basic/Version.h" #include "clang/Basic/Version.h"
#include "clang/ExtractAPI/API.h" #include "clang/ExtractAPI/API.h"
#include "clang/ExtractAPI/DeclarationFragments.h"
#include "llvm/Support/JSON.h" #include "llvm/Support/JSON.h"
#include "llvm/Support/Path.h" #include "llvm/Support/Path.h"
#include "llvm/Support/VersionTuple.h" #include "llvm/Support/VersionTuple.h"
...@@ -331,6 +332,12 @@ Object serializeNames(const APIRecord &Record) { ...@@ -331,6 +332,12 @@ Object serializeNames(const APIRecord &Record) {
Names["title"] = Record.Name; Names["title"] = Record.Name;
serializeArray(Names, "subHeading", serializeArray(Names, "subHeading",
serializeDeclarationFragments(Record.SubHeading)); serializeDeclarationFragments(Record.SubHeading));
DeclarationFragments NavigatorFragments;
NavigatorFragments.append(Record.Name,
DeclarationFragments::FragmentKind::Identifier,
/*PreciseIdentifier*/ "");
serializeArray(Names, "navigator",
serializeDeclarationFragments(NavigatorFragments));
return Names; return Names;
} }
......
...@@ -161,6 +161,12 @@ enum Direction : unsigned char { ...@@ -161,6 +161,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Vehicle"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -197,6 +203,12 @@ enum Direction : unsigned char { ...@@ -197,6 +203,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Bicycle"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -234,6 +246,12 @@ enum Direction : unsigned char { ...@@ -234,6 +246,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Car"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -288,6 +306,12 @@ enum Direction : unsigned char { ...@@ -288,6 +306,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Train"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -325,6 +349,12 @@ enum Direction : unsigned char { ...@@ -325,6 +349,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Ship"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -362,6 +392,12 @@ enum Direction : unsigned char { ...@@ -362,6 +392,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Airplane"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -416,6 +452,12 @@ enum Direction : unsigned char { ...@@ -416,6 +452,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Direction"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -452,6 +494,12 @@ enum Direction : unsigned char { ...@@ -452,6 +494,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "North"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -489,6 +537,12 @@ enum Direction : unsigned char { ...@@ -489,6 +537,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "East"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -526,6 +580,12 @@ enum Direction : unsigned char { ...@@ -526,6 +580,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "South"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -563,6 +623,12 @@ enum Direction : unsigned char { ...@@ -563,6 +623,12 @@ enum Direction : unsigned char {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "West"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -86,6 +86,12 @@ char unavailable __attribute__((unavailable)); ...@@ -86,6 +86,12 @@ char unavailable __attribute__((unavailable));
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "num"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -365,6 +371,12 @@ char unavailable __attribute__((unavailable)); ...@@ -365,6 +371,12 @@ char unavailable __attribute__((unavailable));
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "add"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -88,6 +88,12 @@ char unavailable __attribute__((unavailable)); ...@@ -88,6 +88,12 @@ char unavailable __attribute__((unavailable));
"uri": "file://INPUT_DIR/input1.h" "uri": "file://INPUT_DIR/input1.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "num"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -367,6 +373,12 @@ char unavailable __attribute__((unavailable)); ...@@ -367,6 +373,12 @@ char unavailable __attribute__((unavailable));
"uri": "file://INPUT_DIR/input2.h" "uri": "file://INPUT_DIR/input2.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "add"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -84,6 +84,12 @@ struct Foo { int a; }; ...@@ -84,6 +84,12 @@ struct Foo { int a; };
"uri": "file://INPUT_DIR/input1.h" "uri": "file://INPUT_DIR/input1.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "num"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -103,6 +103,12 @@ struct Foo { int a; }; ...@@ -103,6 +103,12 @@ struct Foo { int a; };
"uri": "file://INPUT_DIR/subdir/subdir1/input.h" "uri": "file://INPUT_DIR/subdir/subdir1/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "num"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -148,6 +154,12 @@ struct Foo { int a; }; ...@@ -148,6 +154,12 @@ struct Foo { int a; };
"uri": "file://INPUT_DIR/subdir/subdir2/known_file.h" "uri": "file://INPUT_DIR/subdir/subdir2/known_file.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "known_num"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -88,6 +88,12 @@ char objc; ...@@ -88,6 +88,12 @@ char objc;
"uri": "file://INPUT_DIR/c.h" "uri": "file://INPUT_DIR/c.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "c"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -162,6 +168,12 @@ char objc; ...@@ -162,6 +168,12 @@ char objc;
"uri": "file://INPUT_DIR/objc.h" "uri": "file://INPUT_DIR/objc.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "objc"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -95,6 +95,12 @@ FUNC_GEN(bar, const int *, unsigned); ...@@ -95,6 +95,12 @@ FUNC_GEN(bar, const int *, unsigned);
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "foo"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -241,6 +247,12 @@ FUNC_GEN(bar, const int *, unsigned); ...@@ -241,6 +247,12 @@ FUNC_GEN(bar, const int *, unsigned);
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "bar"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -285,6 +297,12 @@ FUNC_GEN(bar, const int *, unsigned); ...@@ -285,6 +297,12 @@ FUNC_GEN(bar, const int *, unsigned);
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "HELLO"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -80,6 +80,12 @@ ...@@ -80,6 +80,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "HELLO"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -124,6 +130,12 @@ ...@@ -124,6 +130,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "WORLD"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -180,6 +192,12 @@ ...@@ -180,6 +192,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MACRO_FUN"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -252,6 +270,12 @@ ...@@ -252,6 +270,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "FUN"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -308,6 +332,12 @@ ...@@ -308,6 +332,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "FUNC99"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -364,6 +394,12 @@ ...@@ -364,6 +394,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "FUNGNU"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -105,6 +105,12 @@ ...@@ -105,6 +105,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Interface"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -158,6 +164,12 @@ ...@@ -158,6 +164,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "InstanceMethod"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "text", "kind": "text",
...@@ -216,6 +228,12 @@ ...@@ -216,6 +228,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "ClassMethod"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "text", "kind": "text",
...@@ -302,6 +320,12 @@ ...@@ -302,6 +320,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Property"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
@interface Super <Protocol> @interface Super <Protocol>
@property(readonly, getter=getProperty) unsigned Property; @property(readonly, getter=getProperty) unsigned Property;
+ (id)getWithProperty:(unsigned) Property; + (id)getWithProperty:(unsigned) Property;
- (void)setProperty:(unsigned) Property andOtherThing: (unsigned) Thing;
@end @end
@interface Derived : Super { @interface Derived : Super {
...@@ -58,6 +59,11 @@ ...@@ -58,6 +59,11 @@
"source": "c:objc(cs)Super(cm)getWithProperty:", "source": "c:objc(cs)Super(cm)getWithProperty:",
"target": "c:objc(cs)Super" "target": "c:objc(cs)Super"
}, },
{
"kind": "memberOf",
"source": "c:objc(cs)Super(im)setProperty:andOtherThing:",
"target": "c:objc(cs)Super"
},
{ {
"kind": "memberOf", "kind": "memberOf",
"source": "c:objc(cs)Super(py)Property", "source": "c:objc(cs)Super(py)Property",
...@@ -117,6 +123,12 @@ ...@@ -117,6 +123,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Super"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -186,6 +198,12 @@ ...@@ -186,6 +198,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "getWithProperty:"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "text", "kind": "text",
...@@ -203,6 +221,112 @@ ...@@ -203,6 +221,112 @@
"getWithProperty:" "getWithProperty:"
] ]
}, },
{
"accessLevel": "public",
"declarationFragments": [
{
"kind": "text",
"spelling": "- ("
},
{
"kind": "typeIdentifier",
"preciseIdentifier": "c:v",
"spelling": "void"
},
{
"kind": "text",
"spelling": ") "
},
{
"kind": "identifier",
"spelling": "setProperty:"
},
{
"kind": "text",
"spelling": "("
},
{
"kind": "typeIdentifier",
"preciseIdentifier": "c:i",
"spelling": "unsigned int"
},
{
"kind": "text",
"spelling": ") "
},
{
"kind": "internalParam",
"spelling": "Property"
},
{
"kind": "text",
"spelling": " "
},
{
"kind": "identifier",
"spelling": "andOtherThing:"
},
{
"kind": "text",
"spelling": "("
},
{
"kind": "typeIdentifier",
"preciseIdentifier": "c:i",
"spelling": "unsigned int"
},
{
"kind": "text",
"spelling": ") "
},
{
"kind": "internalParam",
"spelling": "Thing"
},
{
"kind": "text",
"spelling": ";"
}
],
"identifier": {
"interfaceLanguage": "objective-c",
"precise": "c:objc(cs)Super(im)setProperty:andOtherThing:"
},
"kind": {
"displayName": "Instance Method",
"identifier": "objective-c.method"
},
"location": {
"position": {
"character": 1,
"line": 6
},
"uri": "file://INPUT_DIR/input.h"
},
"names": {
"navigator": [
{
"kind": "identifier",
"spelling": "setProperty:andOtherThing:"
}
],
"subHeading": [
{
"kind": "text",
"spelling": "- "
},
{
"kind": "identifier",
"spelling": "setProperty:andOtherThing:"
}
],
"title": "setProperty:andOtherThing:"
},
"pathComponents": [
"Super",
"setProperty:andOtherThing:"
]
},
{ {
"accessLevel": "public", "accessLevel": "public",
"declarationFragments": [ "declarationFragments": [
...@@ -272,6 +396,12 @@ ...@@ -272,6 +396,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Property"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -321,11 +451,17 @@ ...@@ -321,11 +451,17 @@
"location": { "location": {
"position": { "position": {
"character": 12, "character": 12,
"line": 8 "line": 9
}, },
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Derived"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -366,11 +502,17 @@ ...@@ -366,11 +502,17 @@
"location": { "location": {
"position": { "position": {
"character": 8, "character": 8,
"line": 9 "line": 10
}, },
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Ivar"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -420,11 +562,17 @@ ...@@ -420,11 +562,17 @@
"location": { "location": {
"position": { "position": {
"character": 1, "character": 1,
"line": 11 "line": 12
}, },
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "getIvar"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "text", "kind": "text",
......
...@@ -85,6 +85,12 @@ ...@@ -85,6 +85,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Protocol"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -142,6 +148,12 @@ ...@@ -142,6 +148,12 @@
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "AnotherProtocol"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -120,6 +120,12 @@ struct Color { ...@@ -120,6 +120,12 @@ struct Color {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Color"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -165,6 +171,12 @@ struct Color { ...@@ -165,6 +171,12 @@ struct Color {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Red"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -211,6 +223,12 @@ struct Color { ...@@ -211,6 +223,12 @@ struct Color {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Green"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -257,6 +275,12 @@ struct Color { ...@@ -257,6 +275,12 @@ struct Color {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Blue"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -320,6 +344,12 @@ struct Color { ...@@ -320,6 +344,12 @@ struct Color {
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "Alpha"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -84,6 +84,12 @@ typedef int MyInt; ...@@ -84,6 +84,12 @@ typedef int MyInt;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyInt"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -85,6 +85,12 @@ typedef MyStructStruct MyStructStructStruct; ...@@ -85,6 +85,12 @@ typedef MyStructStruct MyStructStructStruct;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyStruct"
}
],
"title": "MyStruct" "title": "MyStruct"
}, },
"pathComponents": [ "pathComponents": [
...@@ -132,6 +138,12 @@ typedef MyStructStruct MyStructStructStruct; ...@@ -132,6 +138,12 @@ typedef MyStructStruct MyStructStructStruct;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyStructStruct"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -186,6 +198,12 @@ typedef MyStructStruct MyStructStructStruct; ...@@ -186,6 +198,12 @@ typedef MyStructStruct MyStructStructStruct;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyStructStructStruct"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
...@@ -86,6 +86,12 @@ typedef MyIntInt MyIntIntInt; ...@@ -86,6 +86,12 @@ typedef MyIntInt MyIntIntInt;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyInt"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -140,6 +146,12 @@ typedef MyIntInt MyIntIntInt; ...@@ -140,6 +146,12 @@ typedef MyIntInt MyIntIntInt;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyIntInt"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
...@@ -194,6 +206,12 @@ typedef MyIntInt MyIntIntInt; ...@@ -194,6 +206,12 @@ typedef MyIntInt MyIntIntInt;
"uri": "file://INPUT_DIR/input.h" "uri": "file://INPUT_DIR/input.h"
}, },
"names": { "names": {
"navigator": [
{
"kind": "identifier",
"spelling": "MyIntIntInt"
}
],
"subHeading": [ "subHeading": [
{ {
"kind": "identifier", "kind": "identifier",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment