aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-30 10:07:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-30 10:07:30 +0000
commitec997dc66627957bcdcd3db7906a68c1e14a279c (patch)
tree5ae1c99771643b6c3d2a4fd36f526200d2b97067 /include/clang
parent636a617cc6021a4366380b3ce673f4472f3d99db (diff)
Rename the last '[hH]asStandardLayout' entites to '[iI]sStandardLayout'
based on Doug's preferences when we discussed this in IRC. This brings the wording more in line with the standard. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/AST/DeclCXX.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h
index bee290f8f1..9d337382a5 100644
--- a/include/clang/AST/DeclCXX.h
+++ b/include/clang/AST/DeclCXX.h
@@ -306,7 +306,7 @@ class CXXRecordDecl : public RecordDecl {
/// one pure virtual function, (that can come from a base class).
bool Abstract : 1;
- /// HasStandardLayout - True when this class has standard layout.
+ /// IsStandardLayout - True when this class has standard layout.
///
/// C++0x [class]p7. A standard-layout class is a class that:
/// * has no non-static data members of type non-standard-layout class (or
@@ -319,11 +319,11 @@ class CXXRecordDecl : public RecordDecl {
/// classes with non-static data members, and
/// * has no base classes of the same type as the first non-static data
/// member.
- bool HasStandardLayout : 1;
+ bool IsStandardLayout : 1;
/// HasNoNonEmptyBases - True when there are no non-empty base classes.
///
- /// This is a helper bit of state used to implement HasStandardLayout more
+ /// This is a helper bit of state used to implement IsStandardLayout more
/// efficiently.
bool HasNoNonEmptyBases : 1;
@@ -796,9 +796,9 @@ public:
/// which means that the class contains or inherits a pure virtual function.
bool isAbstract() const { return data().Abstract; }
- /// hasStandardLayout - Whether this class has standard layout
+ /// isStandardLayout - Whether this class has standard layout
/// (C++ [class]p7)
- bool hasStandardLayout() const { return data().HasStandardLayout; }
+ bool isStandardLayout() const { return data().IsStandardLayout; }
// hasTrivialConstructor - Whether this class has a trivial constructor
// (C++ [class.ctor]p5)