Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void BM_Foo(benchmark::State& St) { | |
| [...] | |
| } | |
| static void BM_Bar(benchmark::State& st) { | |
| [...] | |
| } | |
| // Option #1: The BENCHMARK macro could return an identifier that | |
| // could be used in comparison API's to setup comparison tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <experimental/coroutine> | |
| #include <iostream> | |
| #include <memory> | |
| #include <optional> | |
| #include <utility> | |
| #include <variant> | |
| using namespace std::experimental::coroutines_v1; | |
| template <class T> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class A { | |
| class DecodingState; | |
| class B; | |
| }; | |
| template <class> struct ReturnTypeHelperImp; | |
| template <class S, class R> struct ReturnTypeHelperImp<R(S::*)()> { | |
| using type = R; | |
| }; | |
| template <class T> using ReturnTypeHelper = typename ReturnTypeHelperImp<T>::type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template <class ...Locks> | |
| struct scoped_lock; | |
| template <> | |
| struct scoped_lock<> { | |
| explicit scoped_lock() {} | |
| }; | |
| template <class ...Locks> |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1 "<built-in>" | |
| # 1 "dialect_support.sh.cpp" | |
| // -*- C++ -*- | |
| //===----------------------------------------------------------------------===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // | |
| // This file is dual licensed under the MIT and the University of Illinois Open | |
| // Source Licenses. See LICENSE.TXT for details. | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 6%] Building CXX object CMakeFiles/test.header.range.v3.view.zip.hpp.dir/headers/range/v3/view/zip.cpp.o | |
| In file included from /home/eric/workspace/build-range/headers/range/v3/view/zip.cpp:3: | |
| In file included from /home/eric/workspace/range-v3/include/range/v3/view/zip.hpp:26: | |
| /home/eric/workspace/range-v3/include/range/v3/view/zip_with.hpp:47:22: error: unused function template 'operator()' [-Werror,-Wunused-template] | |
| bool operator()(T const &t, U const &u) const | |
| ^ | |
| /home/eric/workspace/range-v3/include/range/v3/view/zip_with.hpp:56:22: error: unused function template 'operator()' [-Werror,-Wunused-template] | |
| void operator()(T & t) const | |
| ^ | |
| /home/eric/workspace/range-v3/include/range/v3/view/zip_with.hpp:65:22: error: unused function template 'operator()' [-Werror,-Wunused-template] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################################################### | |
| # Appveyor configuration file for LLVM | |
| # ----------------------------------------------------------------------------- | |
| # This appveyor.yml is for the LLVM repository (Example: github.com/llvm-mirror/llvm) | |
| # It builds LLVM, Clang, Clang tools extra, LLD. | |
| ############################################################################### | |
| version: '{build}' | |
| shallow_clone: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*** | |
| *excptptr.cpp - The exception_ptr implementation and everything associated with it. | |
| * | |
| * Copyright (c) Microsoft Corporation. All rights reserved. | |
| * | |
| *Purpose: | |
| * The exception_ptr implementation and everything associated with it. | |
| ****/ | |
| #ifndef _VCRT_ALLOW_INTERNALS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <exception> | |
| #ifdef NDEBUG | |
| #undef NDEBUG | |
| #endif | |
| #include <cassert> | |
| int main() { | |
| std::exception_ptr p2; | |
| try { | |
| throw 42; |