ProgramPoint.cpp revision ca804539d908d3a0e8c72a0df5f1f571d29490bb
1//==- ProgramPoint.cpp - Program Points for Path-Sensitive Analysis -*- C++ -*-/
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 the interface ProgramPoint, which identifies a
11//  distinct location in a function.
12//
13//===----------------------------------------------------------------------===//
14
15#include "clang/Analysis/ProgramPoint.h"
16
17using namespace clang;
18
19ProgramPointTag::~ProgramPointTag() {}
20
21SimpleProgramPointTag::SimpleProgramPointTag(StringRef description)
22  : desc(description) {}
23
24StringRef SimpleProgramPointTag::getTagDescription() const {
25  return desc;
26}
27