LLVM API Documentation
StringSet - A wrapper for StringMap that provides set-like functionality. More...
#include <StringSet.h>
Public Member Functions | |
bool | insert (StringRef Key) |
StringSet - A wrapper for StringMap that provides set-like functionality.
Definition at line 23 of file StringSet.h.
bool llvm::StringSet< AllocatorTy >::insert | ( | StringRef | Key | ) | [inline] |
insert - Insert the specified key into the set. If the key already exists in the set, return false and ignore the request, otherwise insert it and return true.
Definition at line 30 of file StringSet.h.
References llvm::StringRef::empty(), and llvm::StringMap< char, AllocatorTy >::GetOrCreateValue().
Referenced by llvm::opt::OptTable::OptTable().