summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc.mm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-09-12 01:11:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-09-12 01:11:10 +0000
commit66a34a6a45019a54d84e9c5a06c4498e56f13a40 (patch)
tree6266063bb26f81c7dc56d82c0d733d3c13a19c94 /clang/test/Analysis/malloc.mm
parent575037f0deb35858ed8b248ba67aa2418ba8b4ec (diff)
downloadbcm5719-llvm-66a34a6a45019a54d84e9c5a06c4498e56f13a40.tar.gz
bcm5719-llvm-66a34a6a45019a54d84e9c5a06c4498e56f13a40.zip
Adjust some analyzer tests to place widely shared inputs inside of an
'Inputs' subdirectory. The general desire has been to have essentially all of the non-test input files live in such directories, with some exceptions for obvious and common patterns like 'foo.c' using 'foo.h'. This came up because our distributed test runner couldn't find some of the headers, for example with stl.cpp. No functionality changed, just shuffling around here. llvm-svn: 163674
Diffstat (limited to 'clang/test/Analysis/malloc.mm')
-rw-r--r--clang/test/Analysis/malloc.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/malloc.mm b/clang/test/Analysis/malloc.mm
index 7a9d881b151..b5a1aeb12b8 100644
--- a/clang/test/Analysis/malloc.mm
+++ b/clang/test/Analysis/malloc.mm
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -fblocks %s
-#include "system-header-simulator-objc.h"
+#include "Inputs/system-header-simulator-objc.h"
typedef __typeof(sizeof(int)) size_t;
void *malloc(size_t);
@@ -221,4 +221,4 @@ void foo(NSPointerArray* pointerArray) {
void noCrashOnVariableArgumentSelector() {
NSMutableString *myString = [NSMutableString stringWithString:@"some text"];
[myString appendFormat:@"some text = %d", 3];
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud