Path: blob/main/contrib/llvm-project/clang/lib/Basic/Targets/ARC.cpp
35266 views
//===--- ARC.cpp - Implement ARC target feature support -------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file implements ARC TargetInfo objects.9//10//===----------------------------------------------------------------------===//1112#include "ARC.h"13#include "clang/Basic/Builtins.h"14#include "clang/Basic/MacroBuilder.h"15#include "clang/Basic/TargetBuiltins.h"1617using namespace clang;18using namespace clang::targets;1920void ARCTargetInfo::getTargetDefines(const LangOptions &Opts,21MacroBuilder &Builder) const {22Builder.defineMacro("__arc__");23}242526