diff options
author | wangyihan <1135831309@qq.com> | 2022-03-29 11:38:29 -0700 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2022-03-29 11:38:29 -0700 |
commit | de7cd3ccf563847a24e04fb920cd0e3c310ba5bd (patch) | |
tree | 34ea31eddd9b56b543e1fb4a73abd1f28aa1b70e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7a94a032f02515a66d2820c1bc331424be25f6d8 (diff) | |
download | llvm-de7cd3ccf563847a24e04fb920cd0e3c310ba5bd.zip llvm-de7cd3ccf563847a24e04fb920cd0e3c310ba5bd.tar.gz llvm-de7cd3ccf563847a24e04fb920cd0e3c310ba5bd.tar.bz2 |
[Clang][CodeGen]Remove anonymous tag locations
Remove anonymous tag locations, powered by 'PrintingPolicy',
@aaron.ballman once suggested removing this extra information in
https://reviews.llvm.org/D122248
struct:
struct S {
int a;
struct /* Anonymous*/ {
int x;
} b;
int c;
};
Before:
struct S {
int a = 0
struct S::(unnamed at ./builtin_dump_struct.c:20:3) {
int x = 0
}
int c = 0
}
After:
struct S {
int a = 0
struct S::(unnamed) {
int x = 0
}
int c = 0
}
Differntial Revision: https://reviews.llvm.org/D122670
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions