[clang] a86b506 - [NFC] Fixing a comment and some indentations

Chi Chun Chen via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 23:02:52 PST 2022


Author: sandeepkosuri
Date: 2022-11-10T01:02:12-06:00
New Revision: a86b506294bc7b9a921e3e613f49730c5780eb22

URL: https://github.com/llvm/llvm-project/commit/a86b506294bc7b9a921e3e613f49730c5780eb22
DIFF: https://github.com/llvm/llvm-project/commit/a86b506294bc7b9a921e3e613f49730c5780eb22.diff

LOG: [NFC] Fixing a comment and some indentations

Added: 
    

Modified: 
    clang/include/clang/AST/OpenMPClause.h
    clang/include/clang/Sema/Scope.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/OpenMPClause.h b/clang/include/clang/AST/OpenMPClause.h
index 1a4ec43705bc3..a8d2221316a5c 100644
--- a/clang/include/clang/AST/OpenMPClause.h
+++ b/clang/include/clang/AST/OpenMPClause.h
@@ -7640,7 +7640,7 @@ class OMPOrderClause final : public OMPClause {
   /// Location of '('.
   SourceLocation LParenLoc;
 
-  /// A kind of the 'default' clause.
+  /// A kind of the 'order' clause.
   OpenMPOrderClauseKind Kind = OMPC_ORDER_unknown;
 
   /// Start location of the kind in source code.

diff  --git a/clang/include/clang/Sema/Scope.h b/clang/include/clang/Sema/Scope.h
index d2acf253552dc..deb011892b850 100644
--- a/clang/include/clang/Sema/Scope.h
+++ b/clang/include/clang/Sema/Scope.h
@@ -44,11 +44,11 @@ class Scope {
   enum ScopeFlags {
     /// This indicates that the scope corresponds to a function, which
     /// means that labels are set here.
-    FnScope       = 0x01,
+    FnScope = 0x01,
 
     /// This is a while, do, switch, for, etc that can have break
     /// statements embedded into it.
-    BreakScope    = 0x02,
+    BreakScope = 0x02,
 
     /// This is a while, do, for, which can have continue statements
     /// embedded into it.


        


More information about the cfe-commits mailing list