summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-05 04:47:09 +0000
committerAlp Toker <alp@nuanti.com>2013-12-05 04:47:09 +0000
commit2b01e1e26da79a67a248565a189287192b3757f0 (patch)
tree0d22890fb598fef21e6a3dd4e42d0413fa9b1540 /lib/CodeGen/TargetInfo.cpp
parentecd4ae9e89f6e216cf6bf9fe08ad04901ecca631 (diff)
downloadclang-2b01e1e26da79a67a248565a189287192b3757f0.tar.gz
clang-2b01e1e26da79a67a248565a189287192b3757f0.tar.bz2
clang-2b01e1e26da79a67a248565a189287192b3757f0.tar.xz
Correct hyphenations in comments and assert messages
This patch tries to avoid unrelated changes other than fixing a few hyphen-related ambiguities in nearby lines. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r--lib/CodeGen/TargetInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp
index 76acf871da..c09a85bd3d 100644
--- a/lib/CodeGen/TargetInfo.cpp
+++ b/lib/CodeGen/TargetInfo.cpp
@@ -395,7 +395,7 @@ llvm::Value *DefaultABIInfo::EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
ABIArgInfo DefaultABIInfo::classifyArgumentType(QualType Ty) const {
if (isAggregateTypeForABI(Ty)) {
- // Records with non trivial destructors/constructors should not be passed
+ // Records with non-trivial destructors/constructors should not be passed
// by value.
if (isRecordReturnIndirect(Ty, getCXXABI()))
return ABIArgInfo::getIndirect(0, /*ByVal=*/false);
@@ -809,7 +809,7 @@ ABIArgInfo X86_32ABIInfo::getIndirectResult(QualType Ty, bool ByVal,
unsigned &FreeRegs) const {
if (!ByVal) {
if (FreeRegs) {
- --FreeRegs; // Non byval indirects just use one pointer.
+ --FreeRegs; // Non-byval indirects just use one pointer.
return ABIArgInfo::getIndirectInReg(0, false);
}
return ABIArgInfo::getIndirect(0, false);