[llvm-dev] typedef or using in C++ code
Joerg Sonnenberger via llvm-dev
llvm-dev at lists.llvm.org
Wed Sep 7 16:50:47 PDT 2016
On Wed, Sep 07, 2016 at 04:30:01PM -0700, Eugene Zelenko via llvm-dev wrote:
> What should be used for type declarations: typedef or using? typedef
> is there because of historical reasons, but LLVM code based is C++11
> now.
>
> LLVM Coding Standards are not clear on this matter.
Can you give some context for the situation you wonder about? They are
both valid in some situation.
Joerg
More information about the llvm-dev
mailing list