diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-09 15:15:27 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-09 15:15:27 +0000 |
| commit | 8ea1fe028cbe3088f7a83fda26f4938ebed3c782 (patch) | |
| tree | a6ae18e3b469b083656c060bde998ce30d5a9743 /clang | |
| parent | 36a978cca24bcd9b59243102e3c765b9829117ea (diff) | |
| download | bcm5719-llvm-8ea1fe028cbe3088f7a83fda26f4938ebed3c782.tar.gz bcm5719-llvm-8ea1fe028cbe3088f7a83fda26f4938ebed3c782.zip | |
Reorder ParsedTemplateArg's members to reduce padding on x86_64.
llvm-svn: 158275
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Sema/ParsedTemplate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/include/clang/Sema/ParsedTemplate.h b/clang/include/clang/Sema/ParsedTemplate.h index c1b471014b7..69080ad9b1d 100644 --- a/clang/include/clang/Sema/ParsedTemplate.h +++ b/clang/include/clang/Sema/ParsedTemplate.h @@ -58,7 +58,7 @@ namespace clang { SourceLocation TemplateLoc) : Kind(ParsedTemplateArgument::Template), Arg(Template.getAsOpaquePtr()), - Loc(TemplateLoc), SS(SS), EllipsisLoc() { } + SS(SS), Loc(TemplateLoc), EllipsisLoc() { } /// \brief Determine whether the given template argument is invalid. bool isInvalid() const { return Arg == 0; } @@ -118,13 +118,13 @@ namespace clang { /// expression), or an ActionBase::TemplateTy (for a template). void *Arg; - /// \brief the location of the template argument. - SourceLocation Loc; - /// \brief The nested-name-specifier that can accompany a template template /// argument. CXXScopeSpec SS; - + + /// \brief the location of the template argument. + SourceLocation Loc; + /// \brief The ellipsis location that can accompany a template template /// argument (turning it into a template template argument expansion). SourceLocation EllipsisLoc; |

