diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-04-15 20:39:45 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-04-15 20:39:45 +0000 |
| commit | fa80736bca51c87eeeedd55f5be5343ea56f00de (patch) | |
| tree | 6ed8237fc35a24c29ccfd582bfaa378b54943987 /clang/test/Analysis/Inputs/system-header-simulator.h | |
| parent | 577749a337456444c1030d46eb9c7baa8126ac00 (diff) | |
| download | bcm5719-llvm-fa80736bca51c87eeeedd55f5be5343ea56f00de.tar.gz bcm5719-llvm-fa80736bca51c87eeeedd55f5be5343ea56f00de.zip | |
[analyzer] Re-enable using global regions as a symbolic base.
Now that we're invalidating global regions properly, we want to continue
taking advantage of a particular optimization: if all global regions are
invalidated together, we can represent the bindings of each region with
a "derived region value" symbol. Essentially, this lazily links each
global region with a single symbol created at invalidation time, rather
than binding each region with a new symbolic value.
We used to do this, but haven't been for a while; the previous commit
re-enabled this code path, and this handles the fallout.
<rdar://problem/13464044>
llvm-svn: 179554
Diffstat (limited to 'clang/test/Analysis/Inputs/system-header-simulator.h')
| -rw-r--r-- | clang/test/Analysis/Inputs/system-header-simulator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Analysis/Inputs/system-header-simulator.h b/clang/test/Analysis/Inputs/system-header-simulator.h index e5efeb81f7d..dd1cd4942f8 100644 --- a/clang/test/Analysis/Inputs/system-header-simulator.h +++ b/clang/test/Analysis/Inputs/system-header-simulator.h @@ -5,6 +5,10 @@ // suppressed. #pragma clang system_header +#ifdef __cplusplus +#define restrict /*restrict*/ +#endif + typedef struct _FILE FILE; extern FILE *stdin; extern FILE *stdout; |

