summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
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
commit85e87642547730bb463d8a5758d47e8ea8d7354e (patch)
tree97de731721c52cb93972c76daae221f93638461f /clang/lib/Sema
parent21b223630335ecc2aa862ba1c9e181765db85b14 (diff)
downloadbcm5719-llvm-85e87642547730bb463d8a5758d47e8ea8d7354e.tar.gz
bcm5719-llvm-85e87642547730bb463d8a5758d47e8ea8d7354e.zip
Fix comment: correct predicate name, reformat comment.
llvm-svn: 151389
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExprCXX.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp
index a4ae9be41b4..95bd6175017 100644
--- a/clang/lib/Sema/SemaExprCXX.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud