blob: 0eb2fb2417cab340b502867250359ccff8616a1e [file] [log] [blame]
Gabor Marton1f667532018-05-24 08:41:07 +00001//===------ unittest/AST/Language.h - AST unit test support ---------------===//
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// This file defines language options for AST unittests.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_UNITTESTS_AST_LANGUAGE_H
15#define LLVM_CLANG_UNITTESTS_AST_LANGUAGE_H
16
17#include "llvm/Support/ErrorHandling.h"
18#include <vector>
19#include <string>
20
21namespace clang {
22namespace ast_matchers {
23
24typedef std::vector<std::string> ArgVector;
Gabor Marton1f667532018-05-24 08:41:07 +000025
26enum Language {
27 Lang_C,
28 Lang_C89,
29 Lang_CXX,
30 Lang_CXX11,
31 Lang_CXX14,
32 Lang_OpenCL,
33 Lang_OBJCXX
34};
35
Gabor Marton1f667532018-05-24 08:41:07 +000036ArgVector getBasicRunOptionsForLanguage(Language Lang);
Gabor Marton1f667532018-05-24 08:41:07 +000037
38} // end namespace ast_matchers
39} // end namespace clang
40
41#endif