LLVM 20.0.0git
Classes | Namespaces
StringSwitch.h File Reference

This file implements the StringSwitch template, which mimics a switch() statement whose cases are string literals. More...

#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include <cassert>
#include <cstring>
#include <optional>

Go to the source code of this file.

Classes

class  llvm::StringSwitch< T, R >
 A switch()-like statement whose cases are string literals. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Detailed Description

This file implements the StringSwitch template, which mimics a switch() statement whose cases are string literals.

Definition in file StringSwitch.h.