summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ConvertUTF.c
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-01-14 22:56:39 +0000
committerRichard Trieu <rtrieu@google.com>2016-01-14 22:56:39 +0000
commit14714c4181d8cb142ed684c9abfba835b9167410 (patch)
treecb4e8744879be39e8e23fa7c43f1dbaeecc8769a /llvm/lib/Support/ConvertUTF.c
parentf0c0f3c4777399f990c9495c8779ce9b20d84ab2 (diff)
downloadbcm5719-llvm-14714c4181d8cb142ed684c9abfba835b9167410.tar.gz
bcm5719-llvm-14714c4181d8cb142ed684c9abfba835b9167410.zip
Refactor template type diffing
1) Instead of using pairs of From/To* fields, combine fields into a struct TemplateArgInfo and have two in each DiffNode. 2) Use default initialization in DiffNode so that the constructor shows the only field that is initialized differently on construction. 3) Use Set and Get functions per each DiffKind to make sure all fields for the diff is set. In one case, the Expr fields were not set. 4) Don't print boolean literals for boolean template arguments. This prevents printing 'false aka 0' Only #3 has a functional change, which is reflected in the test change. llvm-svn: 257831
Diffstat (limited to 'llvm/lib/Support/ConvertUTF.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud