-
Notifications
You must be signed in to change notification settings - Fork 14.5k
[clang] Ensure newline at the end of files (NFC) #143154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[clang] Ensure newline at the end of files (NFC) #143154
Conversation
@llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-clang-static-analyzer-1 Author: Kazu Hirata (kazutakahirata) ChangesFull diff: https://github.com/llvm/llvm-project/pull/143154.diff 7 Files Affected:
diff --git a/clang/include/clang/Sema/Redeclaration.h b/clang/include/clang/Sema/Redeclaration.h
index ae18b922f5cd9..638fa6fd6424d 100644
--- a/clang/include/clang/Sema/Redeclaration.h
+++ b/clang/include/clang/Sema/Redeclaration.h
@@ -28,4 +28,4 @@ enum class RedeclarationKind {
ForExternalRedeclaration
};
-#endif // LLVM_CLANG_SEMA_REDECLARATION_H
\ No newline at end of file
+#endif // LLVM_CLANG_SEMA_REDECLARATION_H
diff --git a/clang/include/clang/Sema/SemaPseudoObject.h b/clang/include/clang/Sema/SemaPseudoObject.h
index 4753987070b75..24f45b75abf23 100644
--- a/clang/include/clang/Sema/SemaPseudoObject.h
+++ b/clang/include/clang/Sema/SemaPseudoObject.h
@@ -37,4 +37,4 @@ class SemaPseudoObject : public SemaBase {
} // namespace clang
-#endif // LLVM_CLANG_SEMA_SEMAPSEUDOOBJECT_H
\ No newline at end of file
+#endif // LLVM_CLANG_SEMA_SEMAPSEUDOOBJECT_H
diff --git a/clang/lib/Analysis/FlowSensitive/Formula.cpp b/clang/lib/Analysis/FlowSensitive/Formula.cpp
index 12f4e25097d7d..7ca1141c39e70 100644
--- a/clang/lib/Analysis/FlowSensitive/Formula.cpp
+++ b/clang/lib/Analysis/FlowSensitive/Formula.cpp
@@ -90,4 +90,4 @@ void Formula::print(llvm::raw_ostream &OS, const AtomNames *Names) const {
}
}
-} // namespace clang::dataflow
\ No newline at end of file
+} // namespace clang::dataflow
diff --git a/clang/lib/Headers/amxmovrstransposeintrin.h b/clang/lib/Headers/amxmovrstransposeintrin.h
index 17a9f7506a042..5f48cba949f34 100644
--- a/clang/lib/Headers/amxmovrstransposeintrin.h
+++ b/clang/lib/Headers/amxmovrstransposeintrin.h
@@ -197,4 +197,4 @@ static void __tile_2rpntlvwz1rst1(__tile1024i *dst0, __tile1024i *dst1,
#undef __DEFAULT_FN_ATTRS
#endif /* __x86_64__ */
-#endif /* __AMX_MOVRS_TRANSPOSEINTRIN_H */
\ No newline at end of file
+#endif /* __AMX_MOVRS_TRANSPOSEINTRIN_H */
diff --git a/clang/lib/Headers/hlsl/hlsl_spirv.h b/clang/lib/Headers/hlsl/hlsl_spirv.h
index 711da2fea46a4..3e272c7144a33 100644
--- a/clang/lib/Headers/hlsl/hlsl_spirv.h
+++ b/clang/lib/Headers/hlsl/hlsl_spirv.h
@@ -25,4 +25,4 @@ using SpirvOpaqueType = __hlsl_spirv_type<Opcode, 0, 0, Operands...>;
} // namespace vk
} // namespace hlsl
-#endif // _HLSL_HLSL_SPIRV_H_
\ No newline at end of file
+#endif // _HLSL_HLSL_SPIRV_H_
diff --git a/clang/lib/Headers/movrsintrin.h b/clang/lib/Headers/movrsintrin.h
index 250f4004cd2b7..94510485b290a 100644
--- a/clang/lib/Headers/movrsintrin.h
+++ b/clang/lib/Headers/movrsintrin.h
@@ -56,4 +56,4 @@ _m_prefetchrs(volatile const void *__P) {
}
#undef __DEFAULT_FN_ATTRS
-#endif // __MOVRSINTRIN_H
\ No newline at end of file
+#endif // __MOVRSINTRIN_H
diff --git a/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
index 7ce9a5b5bb6dc..ff7615212d34d 100644
--- a/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
@@ -256,4 +256,4 @@ void ento::registerUnreachableCodeChecker(CheckerManager &mgr) {
bool ento::shouldRegisterUnreachableCodeChecker(const CheckerManager &mgr) {
return true;
-}
\ No newline at end of file
+}
|
@llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) ChangesFull diff: https://github.com/llvm/llvm-project/pull/143154.diff 7 Files Affected:
diff --git a/clang/include/clang/Sema/Redeclaration.h b/clang/include/clang/Sema/Redeclaration.h
index ae18b922f5cd9..638fa6fd6424d 100644
--- a/clang/include/clang/Sema/Redeclaration.h
+++ b/clang/include/clang/Sema/Redeclaration.h
@@ -28,4 +28,4 @@ enum class RedeclarationKind {
ForExternalRedeclaration
};
-#endif // LLVM_CLANG_SEMA_REDECLARATION_H
\ No newline at end of file
+#endif // LLVM_CLANG_SEMA_REDECLARATION_H
diff --git a/clang/include/clang/Sema/SemaPseudoObject.h b/clang/include/clang/Sema/SemaPseudoObject.h
index 4753987070b75..24f45b75abf23 100644
--- a/clang/include/clang/Sema/SemaPseudoObject.h
+++ b/clang/include/clang/Sema/SemaPseudoObject.h
@@ -37,4 +37,4 @@ class SemaPseudoObject : public SemaBase {
} // namespace clang
-#endif // LLVM_CLANG_SEMA_SEMAPSEUDOOBJECT_H
\ No newline at end of file
+#endif // LLVM_CLANG_SEMA_SEMAPSEUDOOBJECT_H
diff --git a/clang/lib/Analysis/FlowSensitive/Formula.cpp b/clang/lib/Analysis/FlowSensitive/Formula.cpp
index 12f4e25097d7d..7ca1141c39e70 100644
--- a/clang/lib/Analysis/FlowSensitive/Formula.cpp
+++ b/clang/lib/Analysis/FlowSensitive/Formula.cpp
@@ -90,4 +90,4 @@ void Formula::print(llvm::raw_ostream &OS, const AtomNames *Names) const {
}
}
-} // namespace clang::dataflow
\ No newline at end of file
+} // namespace clang::dataflow
diff --git a/clang/lib/Headers/amxmovrstransposeintrin.h b/clang/lib/Headers/amxmovrstransposeintrin.h
index 17a9f7506a042..5f48cba949f34 100644
--- a/clang/lib/Headers/amxmovrstransposeintrin.h
+++ b/clang/lib/Headers/amxmovrstransposeintrin.h
@@ -197,4 +197,4 @@ static void __tile_2rpntlvwz1rst1(__tile1024i *dst0, __tile1024i *dst1,
#undef __DEFAULT_FN_ATTRS
#endif /* __x86_64__ */
-#endif /* __AMX_MOVRS_TRANSPOSEINTRIN_H */
\ No newline at end of file
+#endif /* __AMX_MOVRS_TRANSPOSEINTRIN_H */
diff --git a/clang/lib/Headers/hlsl/hlsl_spirv.h b/clang/lib/Headers/hlsl/hlsl_spirv.h
index 711da2fea46a4..3e272c7144a33 100644
--- a/clang/lib/Headers/hlsl/hlsl_spirv.h
+++ b/clang/lib/Headers/hlsl/hlsl_spirv.h
@@ -25,4 +25,4 @@ using SpirvOpaqueType = __hlsl_spirv_type<Opcode, 0, 0, Operands...>;
} // namespace vk
} // namespace hlsl
-#endif // _HLSL_HLSL_SPIRV_H_
\ No newline at end of file
+#endif // _HLSL_HLSL_SPIRV_H_
diff --git a/clang/lib/Headers/movrsintrin.h b/clang/lib/Headers/movrsintrin.h
index 250f4004cd2b7..94510485b290a 100644
--- a/clang/lib/Headers/movrsintrin.h
+++ b/clang/lib/Headers/movrsintrin.h
@@ -56,4 +56,4 @@ _m_prefetchrs(volatile const void *__P) {
}
#undef __DEFAULT_FN_ATTRS
-#endif // __MOVRSINTRIN_H
\ No newline at end of file
+#endif // __MOVRSINTRIN_H
diff --git a/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
index 7ce9a5b5bb6dc..ff7615212d34d 100644
--- a/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
@@ -256,4 +256,4 @@ void ento::registerUnreachableCodeChecker(CheckerManager &mgr) {
bool ento::shouldRegisterUnreachableCodeChecker(const CheckerManager &mgr) {
return true;
-}
\ No newline at end of file
+}
|
@llvm/pr-subscribers-clang-analysis Author: Kazu Hirata (kazutakahirata) ChangesFull diff: https://github.com/llvm/llvm-project/pull/143154.diff 7 Files Affected:
diff --git a/clang/include/clang/Sema/Redeclaration.h b/clang/include/clang/Sema/Redeclaration.h
index ae18b922f5cd9..638fa6fd6424d 100644
--- a/clang/include/clang/Sema/Redeclaration.h
+++ b/clang/include/clang/Sema/Redeclaration.h
@@ -28,4 +28,4 @@ enum class RedeclarationKind {
ForExternalRedeclaration
};
-#endif // LLVM_CLANG_SEMA_REDECLARATION_H
\ No newline at end of file
+#endif // LLVM_CLANG_SEMA_REDECLARATION_H
diff --git a/clang/include/clang/Sema/SemaPseudoObject.h b/clang/include/clang/Sema/SemaPseudoObject.h
index 4753987070b75..24f45b75abf23 100644
--- a/clang/include/clang/Sema/SemaPseudoObject.h
+++ b/clang/include/clang/Sema/SemaPseudoObject.h
@@ -37,4 +37,4 @@ class SemaPseudoObject : public SemaBase {
} // namespace clang
-#endif // LLVM_CLANG_SEMA_SEMAPSEUDOOBJECT_H
\ No newline at end of file
+#endif // LLVM_CLANG_SEMA_SEMAPSEUDOOBJECT_H
diff --git a/clang/lib/Analysis/FlowSensitive/Formula.cpp b/clang/lib/Analysis/FlowSensitive/Formula.cpp
index 12f4e25097d7d..7ca1141c39e70 100644
--- a/clang/lib/Analysis/FlowSensitive/Formula.cpp
+++ b/clang/lib/Analysis/FlowSensitive/Formula.cpp
@@ -90,4 +90,4 @@ void Formula::print(llvm::raw_ostream &OS, const AtomNames *Names) const {
}
}
-} // namespace clang::dataflow
\ No newline at end of file
+} // namespace clang::dataflow
diff --git a/clang/lib/Headers/amxmovrstransposeintrin.h b/clang/lib/Headers/amxmovrstransposeintrin.h
index 17a9f7506a042..5f48cba949f34 100644
--- a/clang/lib/Headers/amxmovrstransposeintrin.h
+++ b/clang/lib/Headers/amxmovrstransposeintrin.h
@@ -197,4 +197,4 @@ static void __tile_2rpntlvwz1rst1(__tile1024i *dst0, __tile1024i *dst1,
#undef __DEFAULT_FN_ATTRS
#endif /* __x86_64__ */
-#endif /* __AMX_MOVRS_TRANSPOSEINTRIN_H */
\ No newline at end of file
+#endif /* __AMX_MOVRS_TRANSPOSEINTRIN_H */
diff --git a/clang/lib/Headers/hlsl/hlsl_spirv.h b/clang/lib/Headers/hlsl/hlsl_spirv.h
index 711da2fea46a4..3e272c7144a33 100644
--- a/clang/lib/Headers/hlsl/hlsl_spirv.h
+++ b/clang/lib/Headers/hlsl/hlsl_spirv.h
@@ -25,4 +25,4 @@ using SpirvOpaqueType = __hlsl_spirv_type<Opcode, 0, 0, Operands...>;
} // namespace vk
} // namespace hlsl
-#endif // _HLSL_HLSL_SPIRV_H_
\ No newline at end of file
+#endif // _HLSL_HLSL_SPIRV_H_
diff --git a/clang/lib/Headers/movrsintrin.h b/clang/lib/Headers/movrsintrin.h
index 250f4004cd2b7..94510485b290a 100644
--- a/clang/lib/Headers/movrsintrin.h
+++ b/clang/lib/Headers/movrsintrin.h
@@ -56,4 +56,4 @@ _m_prefetchrs(volatile const void *__P) {
}
#undef __DEFAULT_FN_ATTRS
-#endif // __MOVRSINTRIN_H
\ No newline at end of file
+#endif // __MOVRSINTRIN_H
diff --git a/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
index 7ce9a5b5bb6dc..ff7615212d34d 100644
--- a/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
@@ -256,4 +256,4 @@ void ento::registerUnreachableCodeChecker(CheckerManager &mgr) {
bool ento::shouldRegisterUnreachableCodeChecker(const CheckerManager &mgr) {
return true;
-}
\ No newline at end of file
+}
|
No description provided.