Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / tools / clang / plugins / tests / blacklisted_dirs.cpp
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 struct Base {
6   virtual void foo();
7 };
8
9 #line 1 "/src/chromium/src/myheader.h"
10 struct Derived : public Base {
11   virtual void foo();  // Should warn about missing 'override'.
12 };
13
14 #line 123 "/src/chrome-breakpad/src/myheader.h"
15 struct Derived2 : public Base {
16   virtual void foo();  // Should warn about missing 'override'.
17 };
18
19 #line 123 "/src/chrome-breakpad/src/breakpad/myheader.h"
20 struct Derived3 : public Base {
21   virtual void foo();  // Should not warn; file is in a blacklisted dir.
22 };