summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-02-27 03:18:46 +0000
committerRui Ueyama <ruiu@google.com>2015-02-27 03:18:46 +0000
commit7cea026a6387de744fbcc56334465d782891a496 (patch)
tree1f7e94b37ad80dc88ae71786ed9d32d50b57026a /clang/lib/Serialization/ASTWriter.cpp
parent8ed1d8196bef89c3099be4ce4aa65f613ab819cc (diff)
downloadbcm5719-llvm-7cea026a6387de744fbcc56334465d782891a496.tar.gz
bcm5719-llvm-7cea026a6387de744fbcc56334465d782891a496.zip
Add {read,write}{16,32,64}{le,be} functions.
Nothing wrong with reinterpret_cast<llvm::support::ulittle32_t *>(loc), but that's redundant and not great from readability point of view. The new functions are wrappers for that kind of reinterpet_casts. Surprisingly or unsurprisingly, there was no use of big endian read and write. {read,write}{16,32,64}be have no user. But I think they still worth to be there in the header for completeness. http://reviews.llvm.org/D7927 llvm-svn: 230725
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud