ClangPlugins: Add LLVM lit test suite

This commit is contained in:
Matthew Olsson 2024-04-15 20:07:30 -07:00 committed by Andrew Kaster
commit 46ee2b5f06
Notes: sideshowbarker 2024-07-16 22:14:49 +09:00
17 changed files with 390 additions and 0 deletions

View file

@ -0,0 +1,14 @@
/*
* Copyright (c) 2024, Matthew Olsson <mattco@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
// RUN: %clang++ -cc1 -verify %plugin_opts% %s 2>&1
// expected-no-diagnostics
#include <LibJS/Runtime/Object.h>
class NonCell {
JS::GCPtr<JS::Object> m_object;
};