[clang] [clang:frontend] Move helper functions to common location for SemaSPIRV (PR #125045)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 30 02:45:18 PST 2025
================
@@ -0,0 +1,65 @@
+#include "clang/Sema/Common.h"
+
+namespace clang {
----------------
DavidSpickett wrote:
https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions
For example clang::CheckArgTypeIsCorrect instead of opening the clang namespace and just having CheckArgTypeIsCorrect.
https://github.com/llvm/llvm-project/pull/125045
More information about the cfe-commits
mailing list