blob: 9b7df2c0427aa29ed33e4de3302d6271d51e00ae [file] [log] [blame]
Ted Kremenekca804532011-08-12 23:04:46 +00001//==- 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}