diff options
author | John McCall <rjmccall@apple.com> | 2010-04-09 19:03:51 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-09 19:03:51 +0000 |
commit | 3155f573f5ad55a4838d7ea73bfa819ef6be82d3 (patch) | |
tree | 26212e7eec6d7423539bed5ea08f9cce24f1aca7 /clang/test/FixIt/typo.cpp | |
parent | 7e4a4759295d6335f6e545466bf1933258227ad9 (diff) | |
download | bcm5719-llvm-3155f573f5ad55a4838d7ea73bfa819ef6be82d3.tar.gz bcm5719-llvm-3155f573f5ad55a4838d7ea73bfa819ef6be82d3.zip |
Turn access control on by default in -cc1.
Remove -faccess-control from -cc1; add -fno-access-control.
Make the driver pass -fno-access-control by default.
Update a bunch of tests to be correct under access control.
llvm-svn: 100880
Diffstat (limited to 'clang/test/FixIt/typo.cpp')
-rw-r--r-- | clang/test/FixIt/typo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/FixIt/typo.cpp b/clang/test/FixIt/typo.cpp index efc9ba890c6..dc6789fa861 100644 --- a/clang/test/FixIt/typo.cpp +++ b/clang/test/FixIt/typo.cpp @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ - namespace std { template<typename T> class basic_string { // expected-note 2{{'basic_string' declared here}} + public: int find(const char *substr); // expected-note{{'find' declared here}} static const int npos = -1; // expected-note{{'npos' declared here}} }; |