commit | 1eb5976d7505f299754040e19792a0de94abccbc | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Thu Jun 13 22:28:13 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jun 13 22:28:13 2019 +0000 |
tree | dffe532c644d7820c6a9b36aaf891d8a1e279868 | |
parent | 9894ec459637c5c805b8e03d0a0a7f3ff5d6c1d3 [diff] | |
parent | 06bb4ce8dea5ef11ff29012c08e81b9110796f35 [diff] |
Merge "fortify: fix tests on x86_64"
diff --git a/tests/clang_fortify_tests.cpp b/tests/clang_fortify_tests.cpp index 948faf3..0c09d36 100644 --- a/tests/clang_fortify_tests.cpp +++ b/tests/clang_fortify_tests.cpp
@@ -307,7 +307,7 @@ static void testFormatStrings() { const auto unsigned_value = declval<unsigned long long>(); const auto* unknown_string = declval<const char*>(); - const auto va = declval<va_list>(); + const auto va = *declval<va_list*>(); { auto some_fd = declval<int>();