mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
ClangPlugins: Add LLVM lit test suite
This commit is contained in:
parent
6587c1f350
commit
46ee2b5f06
Notes:
sideshowbarker
2024-07-16 22:14:49 +09:00
Author: https://github.com/mattco98
Commit: 46ee2b5f06
Pull-request: https://github.com/SerenityOS/serenity/pull/24027
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/nico
17 changed files with 390 additions and 0 deletions
14
Tests/ClangPlugins/LibJSGCTests/non_cell_class.cpp
Normal file
14
Tests/ClangPlugins/LibJSGCTests/non_cell_class.cpp
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue