[clang] a945fb1 - [clang] NFC, move the SourceLocationEncoding.h header guard to the begining of the file
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 07:26:56 PDT 2025
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.
More information about the cfe-commits
mailing list