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 17 using namespace clang; 18 19 ProgramPointTag::~ProgramPointTag() {} 20 21 SimpleProgramPointTag::SimpleProgramPointTag(StringRef description) 22 : desc(description) {} 23 24 StringRef SimpleProgramPointTag::getTagDescription() const { 25 return desc; 26 } 27