blob: 967221eca5df168deaad9e8936b1be18dc21832c [file] [log] [blame] [edit]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifndef CRUBIT_NULLABILITY_INFERENCE_AUGMENTED_TEST_INPUTS_H_
#define CRUBIT_NULLABILITY_INFERENCE_AUGMENTED_TEST_INPUTS_H_
#include "nullability/pragma.h"
#include "clang/Testing/TestAST.h"
#include "llvm/ADT/StringRef.h"
namespace clang::tidy::nullability {
/// Returns `TestInputs` that include the given `Source`, nullability test
/// headers, and replaced macros, and populates `Pragmas` from nullability
/// pragmas written in `Source`.
TestInputs getAugmentedTestInputs(llvm::StringRef Source,
NullabilityPragmas& Pragmas);
} // namespace clang::tidy::nullability
#endif // CRUBIT_NULLABILITY_INFERENCE_AUGMENTED_TEST_INPUTS_H_