From c3385d437c0c5de698d943101a78dfd82d48ea10 Mon Sep 17 00:00:00 2001 From: Craig Gidney Date: Fri, 15 Mar 2024 16:12:35 -0700 Subject: [PATCH] empty.cc --- CMakeLists.txt | 4 ++-- empty.cc | 0 src/stim/str_util.test.cc | 15 --------------- 3 files changed, 2 insertions(+), 17 deletions(-) create mode 100644 empty.cc delete mode 100644 src/stim/str_util.test.cc diff --git a/CMakeLists.txt b/CMakeLists.txt index 9985ad4ad..7abb3bff5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY out) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY out) find_package(GTest QUIET) -add_executable(stim_test src/stim/str_util.test.cc) +add_executable(stim_test empty.cc) target_link_libraries(stim_test GTest::gtest GTest::gtest_main) -target_compile_options(stim_test PRIVATE -Wall -Wpedantic -g -fno-omit-frame-pointer -fno-strict-aliasing -fsanitize=undefined -fsanitize=address ${MACHINE_FLAG}) +target_compile_options(stim_test PRIVATE -Wall -Wpedantic -g -fno-omit-frame-pointer -fno-strict-aliasing -fsanitize=undefined -fsanitize=address) target_link_options(stim_test PRIVATE -g -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address) diff --git a/empty.cc b/empty.cc new file mode 100644 index 000000000..e69de29bb diff --git a/src/stim/str_util.test.cc b/src/stim/str_util.test.cc deleted file mode 100644 index 6cc69ea9e..000000000 --- a/src/stim/str_util.test.cc +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "gtest/gtest.h"