Reviewed By: akotulski Differential Revision: D3481942 fbshipit-source-id: ff4df1amaster
parent
8bfa983716
commit
edc57f70f5
@ -1 +1 @@
|
||||
Subproject commit 1b6e6183affe497bcbe3cb6c37c3065d4ecbb91e
|
||||
Subproject commit 815fde847bdb2e244c2c9509810601aaeab392f4
|
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2016 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
void throw1(){};
|
||||
|
||||
void no_throw() noexcept {};
|
||||
|
||||
int noexcept_in_no_throw_is_true() { return noexcept(no_throw()); }
|
||||
|
||||
int noexcept_in_throw1_is_false() { return noexcept(throw1()); }
|
@ -0,0 +1,39 @@
|
||||
/* @generated */
|
||||
digraph iCFG {
|
||||
10 [label="10: Return Stmt \n *&return:int =0 [line 16]\n " shape="box"]
|
||||
|
||||
|
||||
10 -> 9 ;
|
||||
9 [label="9: Exit noexcept_in_throw1_is_false \n " color=yellow style=filled]
|
||||
|
||||
|
||||
8 [label="8: Start noexcept_in_throw1_is_false\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 16]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
8 -> 10 ;
|
||||
7 [label="7: Return Stmt \n *&return:int =1 [line 14]\n " shape="box"]
|
||||
|
||||
|
||||
7 -> 6 ;
|
||||
6 [label="6: Exit noexcept_in_no_throw_is_true \n " color=yellow style=filled]
|
||||
|
||||
|
||||
5 [label="5: Start noexcept_in_no_throw_is_true\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 14]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
5 -> 7 ;
|
||||
4 [label="4: Exit no_throw \n " color=yellow style=filled]
|
||||
|
||||
|
||||
3 [label="3: Start no_throw\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 12]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
3 -> 4 ;
|
||||
2 [label="2: Exit throw1 \n " color=yellow style=filled]
|
||||
|
||||
|
||||
1 [label="1: Start throw1\nFormals: \nLocals: \n DECLARE_LOCALS(&return); [line 10]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
1 -> 2 ;
|
||||
}
|
Loading…
Reference in new issue