Skip to content

Commit 0894fab

Browse files
authored
Merge pull request #9 from emilydolson/c++20
Test updating to C++20
2 parents d0e705c + 790c2fb commit 0894fab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $(info Using LLVM_BUILD_PATH = $(LLVM_BUILD_PATH))
6161
$(info Using LLVM_BIN_PATH = $(LLVM_BIN_PATH))
6262
$(info -----------------------------------------------)
6363

64-
CXXFLAGS := -O0 -g -std=c++14
64+
CXXFLAGS := -O0 -g -std=c++20
6565
PLUGIN_CXXFLAGS := -fpic
6666

6767
LLVM_CXXFLAGS := `$(LLVM_CONFIG) --cxxflags`

testing/tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
./force_cover examples/example.cc -- > testing/observed_example.cc
66
diff testing/observed_example.cc testing/expected_outputs/example.cc
7-
./force_cover examples/header_file_with_templates.hpp -- -language c++ -std=c++14 > testing/header_file_with_templates.hpp || true
7+
./force_cover examples/header_file_with_templates.hpp -- -language c++ -std=c++20 > testing/header_file_with_templates.hpp || true
88
diff testing/header_file_with_templates.hpp testing/expected_outputs/header_file_with_templates.hpp
99
clang++ testing/observed_example.cc -fprofile-instr-generate -fcoverage-mapping -o testing/observed_example
1010
cd testing && ./observed_example
@@ -26,4 +26,4 @@ result=$(coverage run -a fix_coverage.py)
2626
if [ "$result" != "Usage: python fix_coverage.py [name_of_coverage_report_file]" ];
2727
then
2828
exit 1;
29-
fi
29+
fi

0 commit comments

Comments
 (0)