llvm/clang/unittests/Lex/PPCallbacksTest.cpp

//===- unittests/Lex/PPCallbacksTest.cpp - PPCallbacks tests ------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===--------------------------------------------------------------===//

#include "clang/Lex/Preprocessor.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Basic/TargetOptions.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/HeaderSearchOptions.h"
#include "clang/Lex/ModuleLoader.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/Sema.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Path.h"
#include "gtest/gtest.h"

usingnamespaceclang;

namespace {

// Stub to collect data from InclusionDirective callbacks.
class InclusionDirectiveCallbacks : public PPCallbacks {};

class CondDirectiveCallbacks : public PPCallbacks {};

// Stub to collect data from PragmaOpenCLExtension callbacks.
class PragmaOpenCLExtensionCallbacks : public PPCallbacks {};

class PragmaMarkCallbacks : public PPCallbacks {};

// PPCallbacks test fixture.
class PPCallbacksTest : public ::testing::Test {};

TEST_F(PPCallbacksTest, UserFileCharacteristics) {}

TEST_F(PPCallbacksTest, QuotedFilename) {}

TEST_F(PPCallbacksTest, AngledFilename) {}

TEST_F(PPCallbacksTest, QuotedInMacro) {}

TEST_F(PPCallbacksTest, AngledInMacro) {}

TEST_F(PPCallbacksTest, StringizedMacroArgument) {}

TEST_F(PPCallbacksTest, ConcatenatedMacroArgument) {}

TEST_F(PPCallbacksTest, TrigraphFilename) {}

TEST_F(PPCallbacksTest, TrigraphInMacro) {}

TEST_F(PPCallbacksTest, FileNotFoundSkipped) {}

TEST_F(PPCallbacksTest, OpenCLExtensionPragmaEnabled) {}

TEST_F(PPCallbacksTest, OpenCLExtensionPragmaDisabled) {}

TEST_F(PPCallbacksTest, CollectMarks) {}

TEST_F(PPCallbacksTest, DirectiveExprRanges) {}

} // namespace