mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Move annotation to support library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
//===-- llvm/Annotation.h - Annotation classes -------------------*- C++ -*--=//
|
||||
//===-- Support/Annotation.h - Annotation classes ---------------*- C++ -*-===//
|
||||
//
|
||||
// This file contains the declarations for two classes: Annotation & Annotable.
|
||||
// Using these two simple classes, anything that derives from Annotable can have
|
||||
// Annotation subclasses attached to them, ready for easy retrieval.
|
||||
//
|
||||
// Annotations are designed to be easily attachable to LLVM code (as all Value's
|
||||
// are Annotable), and can even be serialized to bytecode and to assembly.
|
||||
// Annotations are designed to be easily attachable to various classes.
|
||||
//
|
||||
// The AnnotationManager class (defined in AnnotationManager.h) is essential for
|
||||
// using these classes. It is responsible for turning Annotation name strings
|
||||
// into tokens [unique id #'s] that may be used to search for and create
|
||||
// annotations.
|
||||
// The AnnotationManager class is essential for using these classes. It is
|
||||
// responsible for turning Annotation name strings into tokens [unique id #'s]
|
||||
// that may be used to search for and create annotations.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_ANNOTATION_H
|
||||
#define LLVM_ANNOTATION_H
|
||||
#ifndef SUPPORT_ANNOTATION_H
|
||||
#define SUPPORT_ANNOTATION_H
|
||||
|
||||
#include <string>
|
||||
class AnnotationID;
|
||||
|
Reference in New Issue
Block a user