Debian Codegraph @

tests/cxx/lateparsed_template-notchecked.h

raw symbols SCIP
1 //===--- lateparsed_template-notchecked.h - test input file for iwyu ------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef INCLUDE_WHAT_YOU_USE_TESTS_CXX_LATEPARSED_NOTCHECKED_H_
11 #define INCLUDE_WHAT_YOU_USE_TESTS_CXX_LATEPARSED_NOTCHECKED_H_
12
13 // A crazy late-parsed function template.
14 // IWYU should not attempt to parse it, since it's not in a file signed up for
15 // analysis.
16 template<class T>
17 void unchecked() {
18 this is late parsed, and makes no sense;
19 };
20
21 // Here's a symbol we reference from the main test file.
22 const int kUsableSymbol = 100;
23
24 #endif // INCLUDE_WHAT_YOU_USE_TESTS_CXX_LATEPARSED_NOTCHECKED_H_