LLVM API Documentation
#include <CompilationGraph.h>
Public Member Functions | |
| const std::string & | GetLanguage (const llvm::sys::Path &) const |
| GetLanguage - Find the language name corresponding to a given file. | |
Definition at line 36 of file CompilationGraph.h.
| const std::string & llvmc::LanguageMap::GetLanguage | ( | const llvm::sys::Path & | File | ) | const |
GetLanguage - Find the language name corresponding to a given file.
Definition at line 35 of file CompilationGraph.cpp.
References llvm::StringMap< std::string >::end(), llvm::StringMap< std::string >::find(), and llvm::sys::Path::getSuffix().