Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/LLVM]: src/external/bsd/llvm/dist/clang Mark files not tagged with clang...
details: https://anonhg.NetBSD.org/src/rev/c48b03a6174b
branches: LLVM
changeset: 320767:c48b03a6174b
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jul 17 19:09:58 2018 +0000
description:
Mark files not tagged with clang-337282 as dead
diffstat:
external/bsd/llvm/dist/clang/include/clang/Analysis/AnalysisContext.h | 486 -----
external/bsd/llvm/dist/clang/include/clang/Basic/VersionTuple.h | 168 -
external/bsd/llvm/dist/clang/include/clang/Sema/AttributeList.h | 944 ----------
external/bsd/llvm/dist/clang/include/clang/Sema/PrettyDeclStackTrace.h | 47 -
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h | 379 ----
external/bsd/llvm/dist/clang/include/clang/Tooling/Core/QualTypeNames.h | 79 -
external/bsd/llvm/dist/clang/lib/Analysis/BodyFarm.h | 51 -
external/bsd/llvm/dist/clang/lib/Basic/VersionTuple.cpp | 100 -
external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Bitrig.cpp | 190 --
external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Bitrig.h | 79 -
external/bsd/llvm/dist/clang/lib/Sema/AttributeList.cpp | 250 --
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/RangedConstraintManager.h | 102 -
external/bsd/llvm/dist/clang/lib/Tooling/Core/QualTypeNames.cpp | 477 -----
external/bsd/llvm/dist/clang/test/Analysis/diagnostics/diag-cross-file-boundaries.c | 12 -
external/bsd/llvm/dist/clang/test/Analysis/diagnostics/diag-cross-file-boundaries.h | 4 -
external/bsd/llvm/dist/clang/test/CodeGen/2005-07-20-SqrtNoErrno.c | 10 -
external/bsd/llvm/dist/clang/test/CodeGen/address-safety-attr-kasan.cpp | 38 -
external/bsd/llvm/dist/clang/test/CodeGen/blocks-opencl.cl | 17 -
external/bsd/llvm/dist/clang/test/CodeGen/vld_dup.c | 50 -
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-block-captured-self.m | 72 -
external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-env-amdgiz.cl | 9 -
external/bsd/llvm/dist/clang/test/Driver/bitrig.c | 29 -
external/bsd/llvm/dist/clang/test/Driver/mingw-useld.c | 19 -
external/bsd/llvm/dist/clang/test/Driver/r600-mcpu.cl | 76 -
external/bsd/llvm/dist/clang/test/Frontend/backend-option.c | 4 -
external/bsd/llvm/dist/clang/test/Misc/thinlto.c | 4 -
external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-different-name/A.framework/Headers/aprivate.h | 1 -
external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_linear_messages.cpp | 248 --
external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_linear_messages.cpp | 293 ---
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel/foo.hmap | Bin
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap | Bin
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap | Bin
external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-metadata-visibility2.mm | 45 -
external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-assign.cpp | 50 -
external/bsd/llvm/dist/clang/test/SemaOpenCL/extern.cl | 9 -
external/bsd/llvm/dist/clang/test/Unit/lit.cfg | 110 -
external/bsd/llvm/dist/clang/test/Unit/lit.site.cfg.in | 28 -
external/bsd/llvm/dist/clang/test/clang-rename/Field.cpp | 15 -
external/bsd/llvm/dist/clang/test/lit.cfg | 534 -----
external/bsd/llvm/dist/clang/test/lit.site.cfg.in | 41 -
external/bsd/llvm/dist/clang/unittests/AST/PostOrderASTVisitor.cpp | 128 -
external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTest.cpp | 305 ---
external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTestCallVisitor.cpp | 120 -
external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTestExprVisitor.cpp | 271 --
44 files changed, 0 insertions(+), 5894 deletions(-)
diffs (truncated from 6064 to 300 lines):
diff -r c3934331d0b8 -r c48b03a6174b external/bsd/llvm/dist/clang/include/clang/Analysis/AnalysisContext.h
--- a/external/bsd/llvm/dist/clang/include/clang/Analysis/AnalysisContext.h Tue Jul 17 18:33:07 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,486 +0,0 @@
-//=== AnalysisContext.h - Analysis context for Path Sens analysis --*- C++ -*-//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines AnalysisDeclContext, a class that manages the analysis
-// context data for path sensitive analysis.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_ANALYSIS_ANALYSISCONTEXT_H
-#define LLVM_CLANG_ANALYSIS_ANALYSISCONTEXT_H
-
-#include "clang/AST/Decl.h"
-#include "clang/Analysis/CFG.h"
-#include "clang/Analysis/CodeInjector.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/FoldingSet.h"
-#include "llvm/Support/Allocator.h"
-#include <memory>
-
-namespace clang {
-
-class Stmt;
-class CFGReverseBlockReachabilityAnalysis;
-class CFGStmtMap;
-class LiveVariables;
-class ManagedAnalysis;
-class ParentMap;
-class PseudoConstantAnalysis;
-class LocationContextManager;
-class StackFrameContext;
-class BlockInvocationContext;
-class AnalysisDeclContextManager;
-class LocationContext;
-
-namespace idx { class TranslationUnit; }
-
-/// The base class of a hierarchy of objects representing analyses tied
-/// to AnalysisDeclContext.
-class ManagedAnalysis {
-protected:
- ManagedAnalysis() {}
-public:
- virtual ~ManagedAnalysis();
-
- // Subclasses need to implement:
- //
- // static const void *getTag();
- //
- // Which returns a fixed pointer address to distinguish classes of
- // analysis objects. They also need to implement:
- //
- // static [Derived*] create(AnalysisDeclContext &Ctx);
- //
- // which creates the analysis object given an AnalysisDeclContext.
-};
-
-
-/// AnalysisDeclContext contains the context data for the function or method
-/// under analysis.
-class AnalysisDeclContext {
- /// Backpoint to the AnalysisManager object that created this
- /// AnalysisDeclContext. This may be null.
- AnalysisDeclContextManager *Manager;
-
- const Decl * const D;
-
- std::unique_ptr<CFG> cfg, completeCFG;
- std::unique_ptr<CFGStmtMap> cfgStmtMap;
-
- CFG::BuildOptions cfgBuildOptions;
- CFG::BuildOptions::ForcedBlkExprs *forcedBlkExprs;
-
- bool builtCFG, builtCompleteCFG;
- std::unique_ptr<ParentMap> PM;
- std::unique_ptr<PseudoConstantAnalysis> PCA;
- std::unique_ptr<CFGReverseBlockReachabilityAnalysis> CFA;
-
- llvm::BumpPtrAllocator A;
-
- llvm::DenseMap<const BlockDecl*,void*> *ReferencedBlockVars;
-
- void *ManagedAnalyses;
-
-public:
- AnalysisDeclContext(AnalysisDeclContextManager *Mgr,
- const Decl *D);
-
- AnalysisDeclContext(AnalysisDeclContextManager *Mgr,
- const Decl *D,
- const CFG::BuildOptions &BuildOptions);
-
- ~AnalysisDeclContext();
-
- ASTContext &getASTContext() const { return D->getASTContext(); }
- const Decl *getDecl() const { return D; }
-
- /// Return the AnalysisDeclContextManager (if any) that created
- /// this AnalysisDeclContext.
- AnalysisDeclContextManager *getManager() const {
- return Manager;
- }
-
- /// Return the build options used to construct the CFG.
- CFG::BuildOptions &getCFGBuildOptions() {
- return cfgBuildOptions;
- }
-
- const CFG::BuildOptions &getCFGBuildOptions() const {
- return cfgBuildOptions;
- }
-
- /// getAddEHEdges - Return true iff we are adding exceptional edges from
- /// callExprs. If this is false, then try/catch statements and blocks
- /// reachable from them can appear to be dead in the CFG, analysis passes must
- /// cope with that.
- bool getAddEHEdges() const { return cfgBuildOptions.AddEHEdges; }
- bool getUseUnoptimizedCFG() const {
- return !cfgBuildOptions.PruneTriviallyFalseEdges;
- }
- bool getAddImplicitDtors() const { return cfgBuildOptions.AddImplicitDtors; }
- bool getAddInitializers() const { return cfgBuildOptions.AddInitializers; }
-
- void registerForcedBlockExpression(const Stmt *stmt);
- const CFGBlock *getBlockForRegisteredExpression(const Stmt *stmt);
-
- /// \brief Get the body of the Declaration.
- Stmt *getBody() const;
-
- /// \brief Get the body of the Declaration.
- /// \param[out] IsAutosynthesized Specifies if the body is auto-generated
- /// by the BodyFarm.
- Stmt *getBody(bool &IsAutosynthesized) const;
-
- /// \brief Checks if the body of the Decl is generated by the BodyFarm.
- ///
- /// Note, the lookup is not free. We are going to call getBody behind
- /// the scenes.
- /// \sa getBody
- bool isBodyAutosynthesized() const;
-
- /// \brief Checks if the body of the Decl is generated by the BodyFarm from a
- /// model file.
- ///
- /// Note, the lookup is not free. We are going to call getBody behind
- /// the scenes.
- /// \sa getBody
- bool isBodyAutosynthesizedFromModelFile() const;
-
- CFG *getCFG();
-
- CFGStmtMap *getCFGStmtMap();
-
- CFGReverseBlockReachabilityAnalysis *getCFGReachablityAnalysis();
-
- /// Return a version of the CFG without any edges pruned.
- CFG *getUnoptimizedCFG();
-
- void dumpCFG(bool ShowColors);
-
- /// \brief Returns true if we have built a CFG for this analysis context.
- /// Note that this doesn't correspond to whether or not a valid CFG exists, it
- /// corresponds to whether we *attempted* to build one.
- bool isCFGBuilt() const { return builtCFG; }
-
- ParentMap &getParentMap();
- PseudoConstantAnalysis *getPseudoConstantAnalysis();
-
- typedef const VarDecl * const * referenced_decls_iterator;
-
- llvm::iterator_range<referenced_decls_iterator>
- getReferencedBlockVars(const BlockDecl *BD);
-
- /// Return the ImplicitParamDecl* associated with 'self' if this
- /// AnalysisDeclContext wraps an ObjCMethodDecl. Returns NULL otherwise.
- const ImplicitParamDecl *getSelfDecl() const;
-
- const StackFrameContext *getStackFrame(LocationContext const *Parent,
- const Stmt *S,
- const CFGBlock *Blk,
- unsigned Idx);
-
- const BlockInvocationContext *
- getBlockInvocationContext(const LocationContext *parent,
- const BlockDecl *BD,
- const void *ContextData);
-
- /// Return the specified analysis object, lazily running the analysis if
- /// necessary. Return NULL if the analysis could not run.
- template <typename T>
- T *getAnalysis() {
- const void *tag = T::getTag();
- ManagedAnalysis *&data = getAnalysisImpl(tag);
- if (!data) {
- data = T::create(*this);
- }
- return static_cast<T*>(data);
- }
-
- /// Returns true if the root namespace of the given declaration is the 'std'
- /// C++ namespace.
- static bool isInStdNamespace(const Decl *D);
-private:
- ManagedAnalysis *&getAnalysisImpl(const void* tag);
-
- LocationContextManager &getLocationContextManager();
-};
-
-class LocationContext : public llvm::FoldingSetNode {
-public:
- enum ContextKind { StackFrame, Scope, Block };
-
-private:
- ContextKind Kind;
-
- // AnalysisDeclContext can't be const since some methods may modify its
- // member.
- AnalysisDeclContext *Ctx;
-
- const LocationContext *Parent;
-
-protected:
- LocationContext(ContextKind k, AnalysisDeclContext *ctx,
- const LocationContext *parent)
- : Kind(k), Ctx(ctx), Parent(parent) {}
-
-public:
- virtual ~LocationContext();
-
- ContextKind getKind() const { return Kind; }
-
- AnalysisDeclContext *getAnalysisDeclContext() const { return Ctx; }
-
- const LocationContext *getParent() const { return Parent; }
-
- bool isParentOf(const LocationContext *LC) const;
-
- const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); }
-
- CFG *getCFG() const { return getAnalysisDeclContext()->getCFG(); }
-
- template <typename T>
- T *getAnalysis() const {
- return getAnalysisDeclContext()->getAnalysis<T>();
- }
-
- ParentMap &getParentMap() const {
- return getAnalysisDeclContext()->getParentMap();
- }
-
- const ImplicitParamDecl *getSelfDecl() const {
- return Ctx->getSelfDecl();
- }
-
- const StackFrameContext *getCurrentStackFrame() const;
-
- /// Return true if the current LocationContext has no caller context.
- virtual bool inTopFrame() const;
-
- virtual void Profile(llvm::FoldingSetNodeID &ID) = 0;
-
- void dumpStack(raw_ostream &OS, StringRef Indent = "") const;
- void dumpStack() const;
-
-public:
- static void ProfileCommon(llvm::FoldingSetNodeID &ID,
- ContextKind ck,
- AnalysisDeclContext *ctx,
- const LocationContext *parent,
- const void *data);
-};
-
-class StackFrameContext : public LocationContext {
- // The callsite where this stack frame is established.
- const Stmt *CallSite;
-
- // The parent block of the callsite.
- const CFGBlock *Block;
-
- // The index of the callsite in the CFGBlock.
- unsigned Index;
-
- friend class LocationContextManager;
- StackFrameContext(AnalysisDeclContext *ctx, const LocationContext *parent,
- const Stmt *s, const CFGBlock *blk,
- unsigned idx)
- : LocationContext(StackFrame, ctx, parent), CallSite(s),
- Block(blk), Index(idx) {}
-
-public:
- ~StackFrameContext() override {}
Home |
Main Index |
Thread Index |
Old Index