summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-05 19:53:42 +0000
committerAlp Toker <alp@nuanti.com>2014-05-05 19:53:42 +0000
commit08f6e9ec15fd5de36de91887d655ac9c8d7d3215 (patch)
tree85c499c81da2b5a9df9182e6fb7a50db77231150 /clang/lib/AST
parentfe59062b7513325b072f4ba10fc1021fe52ff2f1 (diff)
downloadbcm5719-llvm-08f6e9ec15fd5de36de91887d655ac9c8d7d3215.tar.gz
bcm5719-llvm-08f6e9ec15fd5de36de91887d655ac9c8d7d3215.zip
Fix some typos
llvm-svn: 207994
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/RecordLayoutBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/RecordLayoutBuilder.cpp b/clang/lib/AST/RecordLayoutBuilder.cpp
index 4567488bc18..91ce533c56b 100644
--- a/clang/lib/AST/RecordLayoutBuilder.cpp
+++ b/clang/lib/AST/RecordLayoutBuilder.cpp
@@ -2110,7 +2110,7 @@ static bool isMsLayout(const RecordDecl* D) {
// when used as a field or base, will not be aligned if #pragma pack is
// still active at the time of use.
//
-// Known incompatiblities:
+// Known incompatibilities:
// * all: #pragma pack between fields in a record
// * 2010 and back: If the last field in a record is a bitfield, every object
// laid out after the record will have extra padding inserted before it. The
@@ -2125,7 +2125,7 @@ static bool isMsLayout(const RecordDecl* D) {
// _every_ field getting padding put in front of it, potentially including the
// vfptr, leaving the vfprt at a non-zero location which results in a fault if
// anything tries to read the vftbl. The second layout phase also treats
-// bitfields as seperate entities and gives them each storage rather than
+// bitfields as separate entities and gives them each storage rather than
// packing them. Additionally, because this phase appears to perform a
// (an unstable) sort on the members before laying them out and because merged
// bitfields have the same address, the bitfields end up in whatever order
OpenPOWER on IntegriCloud