From 3155f573f5ad55a4838d7ea73bfa819ef6be82d3 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 9 Apr 2010 19:03:51 +0000 Subject: 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 --- clang/test/FixIt/typo.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/FixIt/typo.cpp') 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 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}} }; -- cgit v1.2.3