Author: Haojian Wu
Date: 2025-06-25T16:26:40+02:00
New Revision: a945fb1481e01f9631fde5f6174276532c33fc98

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

LOG: [clang] NFC, move the SourceLocationEncoding.h header guard to the 
begining of the file

Added: 
    

Modified: 
    clang/include/clang/Serialization/SourceLocationEncoding.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Serialization/SourceLocationEncoding.h 
b/clang/include/clang/Serialization/SourceLocationEncoding.h
index 4a068bbf3fd8a..5b2485dbc719f 100644
--- a/clang/include/clang/Serialization/SourceLocationEncoding.h
+++ b/clang/include/clang/Serialization/SourceLocationEncoding.h
@@ -28,13 +28,13 @@
 //
 
//===----------------------------------------------------------------------===//
 
+#ifndef LLVM_CLANG_SERIALIZATION_SOURCELOCATIONENCODING_H
+#define LLVM_CLANG_SERIALIZATION_SOURCELOCATIONENCODING_H
+
 #include "clang/Basic/SourceLocation.h"
 #include "llvm/Support/MathExtras.h"
 #include <climits>
 
-#ifndef LLVM_CLANG_SERIALIZATION_SOURCELOCATIONENCODING_H
-#define LLVM_CLANG_SERIALIZATION_SOURCELOCATIONENCODING_H
-
 namespace clang {
 
 /// Serialized encoding of SourceLocations without context.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to