[llvm] r304954 - [CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 07:29:59 PDT 2017


On 6/7/2017 6:53 PM, Eugene Zelenko via llvm-commits wrote:
> 
> -typedef uint64_t                DFAInput;
> -typedef int64_t                 DFAStateInput;
> +using DFAInput = uint64_t;
> +using DFAStateInput = int64_t;

Are you going to be changing all typedefs to usings?


> Modified: llvm/trunk/include/llvm/CodeGen/GCMetadataPrinter.h
> [...]
>   
> -private:
> +public:
>     GCMetadataPrinter(const GCMetadataPrinter &) = delete;
>     GCMetadataPrinter &operator=(const GCMetadataPrinter &) = delete;

This isn't really NFC.


-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-commits mailing list