aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CheckSizeofPointer.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-11-09 07:29:39 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-11-09 07:29:39 +0000
commitdfed7a187edf83ab9ab31c3fccd33df7e22ba795 (patch)
treebb5b78832961c48758caa44275a0f9dfeb9519bb /lib/Analysis/CheckSizeofPointer.cpp
parentb10a7c235f82c6eb074be097c9ae7ee51fccc9c6 (diff)
Put all long strings in 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CheckSizeofPointer.cpp')
-rw-r--r--lib/Analysis/CheckSizeofPointer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/CheckSizeofPointer.cpp b/lib/Analysis/CheckSizeofPointer.cpp
index 3cec5c9e98..02393111e3 100644
--- a/lib/Analysis/CheckSizeofPointer.cpp
+++ b/lib/Analysis/CheckSizeofPointer.cpp
@@ -47,7 +47,8 @@ void WalkAST::VisitSizeOfAlignOfExpr(SizeOfAlignOfExpr *E) {
SourceRange R = E->getArgumentExpr()->getSourceRange();
BR.EmitBasicReport("Potential unintended use of sizeof() on pointer type",
"Logic",
- "The code calls sizeof() on a pointer type. This can produce an unexpected result.",
+ "The code calls sizeof() on a pointer type. "
+ "This can produce an unexpected result.",
E->getLocStart(), &R, 1);
}
}