aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-02-24 20:03:35 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-02-24 20:03:35 +0000
commit62348f041adccdf9376f5c355ed64ecbce0b4f0f (patch)
tree38cfcbec4ec176937b52ed257edcd95b3e6dd59c /lib/Sema/SemaExprCXX.cpp
parent69015c22e1e3f96ff0e6e31965188e095297a744 (diff)
Fix comment: correct predicate name, reformat comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r--lib/Sema/SemaExprCXX.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp
index a4ae9be41b..95bd617501 100644
--- a/lib/Sema/SemaExprCXX.cpp
+++ b/lib/Sema/SemaExprCXX.cpp
@@ -3218,12 +3218,11 @@ static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc,
switch (Kind) {
case clang::TT_IsTriviallyConstructible: {
// C++11 [meta.unary.prop]:
- // is_trivially_constructor is defined as:
+ // is_trivially_constructible is defined as:
//
- // is_constructible<T, Args...>::value is true and the variable
- //
- /// definition for is_constructible, as defined below, is known to call no
- // operation that is not trivial.
+ // is_constructible<T, Args...>::value is true and the variable
+ // definition for is_constructible, as defined below, is known to call no
+ // operation that is not trivial.
//
// The predicate condition for a template specialization
// is_constructible<T, Args...> shall be satisfied if and only if the