[llvm] [utils][TableGen] Handle versions on clause/directive spellings (PR #143021)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 04:32:57 PDT 2025
================
@@ -0,0 +1,31 @@
+//===-- Spelling.cpp ---------------------------------------------- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Frontend/Directive/Spelling.h"
+
+#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/MathExtras.h"
+
+#include <cassert>
+
----------------
jurahul wrote:
add `using namespace llvm;` here and drop llvm:: (which we do for most .cpp files)
https://github.com/llvm/llvm-project/pull/143021
More information about the llvm-commits
mailing list