Clean carriage returns from lib/ and include/. NFC.

Summary:
Clean carriage returns from lib/ and include/. NFC.
(I have to make this change locally in order for `git diff` to show sane output after I edit a file, so I might as well ask for it to be committed. I don't have commit privs myself.)
(Without this patch, `git rebase`ing any change involving SemaDeclCXX.cpp is a real nightmare. :( So while I have no right to ask for this to be committed, geez would it make my workflow easier if it were.)

Here's the command I used to reformat things. (Requires bash and OSX/FreeBSD sed.)

    git grep -l $'\r' lib include | xargs sed -i -e $'s/\r//'
    find lib include -name '*-e' -delete

Reviewers: malcolm.parsons

Reviewed By: malcolm.parsons

Subscribers: emaste, krytarowski, cfe-commits

Differential Revision: https://reviews.llvm.org/D45591

Patch by Arthur O'Dwyer.

llvm-svn: 330112
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 8913d6e..623cb54 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -3328,12 +3328,12 @@
   }
 
   CompleteObject Obj = findCompleteObject(Info, E, AK_Assign, LVal, LValType);
-  return Obj && modifySubobject(Info, E, Obj, LVal.Designator, Val);

-}

-

-namespace {

-struct CompoundAssignSubobjectHandler {

-  EvalInfo &Info;

+  return Obj && modifySubobject(Info, E, Obj, LVal.Designator, Val);
+}
+
+namespace {
+struct CompoundAssignSubobjectHandler {
+  EvalInfo &Info;
   const Expr *E;
   QualType PromotedLHSType;
   BinaryOperatorKind Opcode;
@@ -3449,13 +3449,13 @@
   return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler);
 }
 
-namespace {

-struct IncDecSubobjectHandler {

-  EvalInfo &Info;

-  const UnaryOperator *E;

-  AccessKinds AccessKind;

-  APValue *Old;

-

+namespace {
+struct IncDecSubobjectHandler {
+  EvalInfo &Info;
+  const UnaryOperator *E;
+  AccessKinds AccessKind;
+  APValue *Old;
+
   typedef bool result_type;
 
   bool checkConst(QualType QT) {
@@ -3521,20 +3521,20 @@
     }
 
     bool WasNegative = Value.isNegative();
-    if (AccessKind == AK_Increment) {

-      ++Value;

-

-      if (!WasNegative && Value.isNegative() && E->canOverflow()) {

-        APSInt ActualValue(Value, /*IsUnsigned*/true);

-        return HandleOverflow(Info, E, ActualValue, SubobjType);

-      }

-    } else {

-      --Value;

-

-      if (WasNegative && !Value.isNegative() && E->canOverflow()) {

-        unsigned BitWidth = Value.getBitWidth();

-        APSInt ActualValue(Value.sext(BitWidth + 1), /*IsUnsigned*/false);

-        ActualValue.setBit(BitWidth);

+    if (AccessKind == AK_Increment) {
+      ++Value;
+
+      if (!WasNegative && Value.isNegative() && E->canOverflow()) {
+        APSInt ActualValue(Value, /*IsUnsigned*/true);
+        return HandleOverflow(Info, E, ActualValue, SubobjType);
+      }
+    } else {
+      --Value;
+
+      if (WasNegative && !Value.isNegative() && E->canOverflow()) {
+        unsigned BitWidth = Value.getBitWidth();
+        APSInt ActualValue(Value.sext(BitWidth + 1), /*IsUnsigned*/false);
+        ActualValue.setBit(BitWidth);
         return HandleOverflow(Info, E, ActualValue, SubobjType);
       }
     }
@@ -3589,13 +3589,13 @@
     Info.FFDiag(E);
     return false;
   }
-

-  AccessKinds AK = IsIncrement ? AK_Increment : AK_Decrement;

-  CompleteObject Obj = findCompleteObject(Info, E, AK, LVal, LValType);

-  IncDecSubobjectHandler Handler = {Info, cast<UnaryOperator>(E), AK, Old};

-  return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler);

-}

-

+
+  AccessKinds AK = IsIncrement ? AK_Increment : AK_Decrement;
+  CompleteObject Obj = findCompleteObject(Info, E, AK, LVal, LValType);
+  IncDecSubobjectHandler Handler = {Info, cast<UnaryOperator>(E), AK, Old};
+  return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler);
+}
+
 /// Build an lvalue for the object argument of a member function call.
 static bool EvaluateObjectArgument(EvalInfo &Info, const Expr *Object,
                                    LValue &This) {
@@ -9006,13 +9006,13 @@
     return Visit(E->getSubExpr());
   case UO_Minus: {
     if (!Visit(E->getSubExpr()))
-      return false;

-    if (!Result.isInt()) return Error(E);

-    const APSInt &Value = Result.getInt();

-    if (Value.isSigned() && Value.isMinSignedValue() && E->canOverflow() &&

-        !HandleOverflow(Info, E, -Value.extend(Value.getBitWidth() + 1),

-                        E->getType()))

-      return false;

+      return false;
+    if (!Result.isInt()) return Error(E);
+    const APSInt &Value = Result.getInt();
+    if (Value.isSigned() && Value.isMinSignedValue() && E->canOverflow() &&
+        !HandleOverflow(Info, E, -Value.extend(Value.getBitWidth() + 1),
+                        E->getType()))
+      return false;
     return Success(-Value, E);
   }
   case UO_Not: {