diff options
author | Julie Hockett <juliehockett@google.com> | 2018-05-04 17:02:13 +0000 |
---|---|---|
committer | Julie Hockett <juliehockett@google.com> | 2018-05-04 17:02:13 +0000 |
commit | b59cd77c87d825fd1086eb6eba30473a11dd16bd (patch) | |
tree | 0a59bd11c241f0e1eea626109d8d75d7325469de /clang-tools-extra/test/clang-doc/mapper-namespace.cpp | |
parent | e5ad31d3766e1d9166578d3b7c998a585ee528fc (diff) | |
download | bcm5719-llvm-b59cd77c87d825fd1086eb6eba30473a11dd16bd.tar.gz bcm5719-llvm-b59cd77c87d825fd1086eb6eba30473a11dd16bd.zip |
[clang-doc] Attaching a name to reference data
This adds the name of the referenced decl, in addition to its USR, to
the saved data, so that the backend can look at an info in isolation and
still be able to construct a human-readable name for it.
Differential Revision: https://reviews.llvm.org/D46281
llvm-svn: 331539
Diffstat (limited to 'clang-tools-extra/test/clang-doc/mapper-namespace.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-doc/mapper-namespace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-doc/mapper-namespace.cpp b/clang-tools-extra/test/clang-doc/mapper-namespace.cpp index e46dfdaa5c6..032a05b859e 100644 --- a/clang-tools-extra/test/clang-doc/mapper-namespace.cpp +++ b/clang-tools-extra/test/clang-doc/mapper-namespace.cpp @@ -9,7 +9,7 @@ namespace A {} // CHECK: <BLOCKINFO_BLOCK/> // CHECK-NEXT: <VersionBlock NumWords=1 BlockCodeSize=4> - // CHECK-NEXT: <Version abbrevid=4 op0=1/> + // CHECK-NEXT: <Version abbrevid=4 op0=2/> // CHECK-NEXT: </VersionBlock> // CHECK-NEXT: <NamespaceBlock NumWords={{[0-9]*}} BlockCodeSize=4> // CHECK-NEXT: <USR abbrevid=4 op0=20 op1=141 op2=4 op3=46 op4=255 op5=201 op6=139 op7=55 op8=52 op9=80 op10=188 op11=107 op12=91 op13=144 op14=163 op15=48 op16=194 op17=90 op18=21 op19=14 op20=156/> |