[cfe-commits] r169705 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Basic/TargetInfo.h include/clang/Sema/Sema.h lib/Basic/Targets.cpp lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclAttr.cpp lib/Sema/SemaDeclCXX.cpp test/SemaCXX/virtual-override-x64.cpp test/SemaCXX/virtual-override-x86.cpp

Eli Friedman eli.friedman at gmail.com
Mon Dec 10 16:27:35 PST 2012


On Mon, Dec 10, 2012 at 4:07 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> CC_Default is used when there is no specified calling convention, but
> the answer to "what is the default calling convention" shouldn't be
> "it's default."  So the changes clarified that -- the default calling
> convention (when no convention is specified) is CC_Default, but when
> you ask the target "what is your default calling convention", the
> answer is a concrete calling convention.
>
> I do believe the usage is correct this way.

Okay, that makes sense, thanks.

-Eli



More information about the cfe-commits mailing list