clang  6.0.0svn
Macros
LangStandards.cpp File Reference
#include "clang/Frontend/LangStandard.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/Frontend/LangStandards.def"
Include dependency graph for LangStandards.cpp:

Go to the source code of this file.

Macros

#define LANGSTANDARD(id, name, lang, desc, features)   static const LangStandard Lang_##id = { name, desc, features, InputKind::lang };
 
#define LANGSTANDARD(id, name, lang, desc, features)   case lang_##id: return Lang_##id;
 
#define LANGSTANDARD(id, name, lang, desc, features)   .Case(name, lang_##id)
 

Macro Definition Documentation

◆ LANGSTANDARD [1/3]

#define LANGSTANDARD (   id,
  name,
  lang,
  desc,
  features 
)    static const LangStandard Lang_##id = { name, desc, features, InputKind::lang };

Definition at line 16 of file LangStandards.cpp.

◆ LANGSTANDARD [2/3]

#define LANGSTANDARD (   id,
  name,
  lang,
  desc,
  features 
)    case lang_##id: return Lang_##id;

Definition at line 16 of file LangStandards.cpp.

◆ LANGSTANDARD [3/3]

#define LANGSTANDARD (   id,
  name,
  lang,
  desc,
  features 
)    .Case(name, lang_##id)

Definition at line 16 of file LangStandards.cpp.