ProgramPoint.cpp 813 B

1234567891011121314151617181920212223242526
  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. #include "clang/Analysis/ProgramPoint.h"
  15. using namespace clang;
  16. ProgramPointTag::~ProgramPointTag() {}
  17. SimpleProgramPointTag::SimpleProgramPointTag(StringRef description)
  18. : desc(description) {}
  19. StringRef SimpleProgramPointTag::getTagDescription() const {
  20. return desc;
  21. }