Run clang-format on include/*.h and lib/*.cpp. (#343)

Run clang-format on include/*.h, lib/*.cpp and tools/*/*.cpp
diff --git a/lib/FrontendPlugin.cpp b/lib/FrontendPlugin.cpp
index ddbfc8e..fd05709 100644
--- a/lib/FrontendPlugin.cpp
+++ b/lib/FrontendPlugin.cpp
@@ -34,10 +34,7 @@
   CompilerInstance &Instance;
   llvm::StringRef InFile;
 
-  enum Layout {
-    UBO,
-    SSBO
-  };
+  enum Layout { UBO, SSBO };
 
   enum CustomDiagnosticType {
     CustomDiagnosticVectorsMoreThan4Elements = 0,
@@ -222,7 +219,8 @@
     // An array has a base alignment of is element type.
     // If the layout is UBO, the alignment is rounded up to a multiple of 16.
     const auto *AT = llvm::cast<ArrayType>(QT);
-    const auto element_align = GetAlignment(AT->getElementType(), layout, context);
+    const auto element_align =
+        GetAlignment(AT->getElementType(), layout, context);
     const auto type_align =
         layout == UBO ? llvm::alignTo(element_align, 16) : element_align;
     if (offset % type_align != 0) {
@@ -255,7 +253,8 @@
     // alignment is rounded up to a multiple of 16.
     const auto *RT = llvm::cast<RecordType>(QT);
     auto type_alignment = GetAlignment(QT, layout, context);
-    if (layout == UBO) llvm::alignTo(type_alignment, 16);
+    if (layout == UBO)
+      llvm::alignTo(type_alignment, 16);
     if (offset % type_alignment != 0) {
       auto diag_id = layout == UBO ? CustomDiagnosticUBOUnalignedStruct
                                    : CustomDiagnosticSSBOUnalignedStruct;
@@ -284,7 +283,8 @@
             record_layout.getFieldOffset(field_no - 1) / context.getCharWidth();
         const auto prev_size =
             context.getTypeSizeInChars(prev_canonical).getQuantity();
-        const auto prev_alignment = GetAlignment(prev_canonical, layout, context);
+        const auto prev_alignment =
+            GetAlignment(prev_canonical, layout, context);
         const auto next_available =
             prev_offset + llvm::alignTo(prev_size, prev_alignment);
         if (prev_canonical->isArrayType() || prev_canonical->isRecordType()) {
@@ -351,9 +351,8 @@
     CustomDiagnosticsIDMap[CustomDiagnosticVoidPointer] = DE.getCustomDiagID(
         DiagnosticsEngine::Error, "pointer-to-void is not supported");
     CustomDiagnosticsIDMap[CustomDiagnosticUnalignedScalar] =
-        DE.getCustomDiagID(
-            DiagnosticsEngine::Error,
-            "scalar elements must be aligned to their size");
+        DE.getCustomDiagID(DiagnosticsEngine::Error,
+                           "scalar elements must be aligned to their size");
     CustomDiagnosticsIDMap[CustomDiagnosticUnalignedVec2] = DE.getCustomDiagID(
         DiagnosticsEngine::Error,
         "two-component vectors must be aligned to 2 times their element size");