diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-02-28 18:04:53 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-02-28 18:04:53 +0000 |
| commit | 6fe42c9ea5d63456818e6f3e22ab654546c61fdf (patch) | |
| tree | c7eef3a1453d1c5899523f3be6ce4744876e4890 | |
| parent | 9874a2b1efd6225b17262704d6e5ba0e3ba63ee9 (diff) | |
| download | bcm5719-llvm-6fe42c9ea5d63456818e6f3e22ab654546c61fdf.tar.gz bcm5719-llvm-6fe42c9ea5d63456818e6f3e22ab654546c61fdf.zip | |
Removing some unused functionality.
llvm-svn: 202519
| -rw-r--r-- | clang/include/clang/Sema/AttributeList.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/clang/include/clang/Sema/AttributeList.h b/clang/include/clang/Sema/AttributeList.h index 8b686331085..cf50c3e907b 100644 --- a/clang/include/clang/Sema/AttributeList.h +++ b/clang/include/clang/Sema/AttributeList.h @@ -693,40 +693,6 @@ public: } }; -/// addAttributeLists - Add two AttributeLists together -/// The right-hand list is appended to the left-hand list, if any -/// A pointer to the joined list is returned. -/// Note: the lists are not left unmodified. -inline AttributeList *addAttributeLists(AttributeList *Left, - AttributeList *Right) { - if (!Left) - return Right; - - AttributeList *next = Left, *prev; - do { - prev = next; - next = next->getNext(); - } while (next); - prev->setNext(Right); - return Left; -} - -/// CXX11AttributeList - A wrapper around a C++11 attribute list. -/// Stores, in addition to the list proper, whether or not an actual list was -/// (as opposed to an empty list, which may be ill-formed in some places) and -/// the source range of the list. -struct CXX11AttributeList { - AttributeList *AttrList; - SourceRange Range; - bool HasAttr; - CXX11AttributeList (AttributeList *attrList, SourceRange range, bool hasAttr) - : AttrList(attrList), Range(range), HasAttr (hasAttr) { - } - CXX11AttributeList () - : AttrList(0), Range(), HasAttr(false) { - } -}; - /// ParsedAttributes - A collection of parsed attributes. Currently /// we don't differentiate between the various attribute syntaxes, /// which is basically silly. |

