forked from OSchip/llvm-project
parent
3182ee92ba
commit
825fb3c9d4
|
@ -134,7 +134,7 @@ const char *FullSourceLoc::getCharacterData(bool *Invalid) const {
|
|||
|
||||
StringRef FullSourceLoc::getBufferData(bool *Invalid) const {
|
||||
assert(isValid());
|
||||
return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid)->getBuffer();;
|
||||
return SrcMgr->getBuffer(SrcMgr->getFileID(*this), Invalid)->getBuffer();
|
||||
}
|
||||
|
||||
std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const {
|
||||
|
|
|
@ -425,7 +425,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
|
|||
Opts.Autolink = !Args.hasArg(OPT_fno_autolink);
|
||||
Opts.SampleProfileFile = Args.getLastArgValue(OPT_fprofile_sample_use_EQ);
|
||||
Opts.ProfileInstrGenerate = Args.hasArg(OPT_fprofile_instr_generate) ||
|
||||
Args.hasArg(OPT_fprofile_instr_generate_EQ);;
|
||||
Args.hasArg(OPT_fprofile_instr_generate_EQ);
|
||||
Opts.InstrProfileOutput = Args.getLastArgValue(OPT_fprofile_instr_generate_EQ);
|
||||
Opts.InstrProfileInput = Args.getLastArgValue(OPT_fprofile_instr_use_EQ);
|
||||
Opts.CoverageMapping = Args.hasArg(OPT_fcoverage_mapping);
|
||||
|
|
|
@ -490,7 +490,7 @@ CXString clang_getTypeKindSpelling(enum CXTypeKind K) {
|
|||
}
|
||||
|
||||
unsigned clang_equalTypes(CXType A, CXType B) {
|
||||
return A.data[0] == B.data[0] && A.data[1] == B.data[1];;
|
||||
return A.data[0] == B.data[0] && A.data[1] == B.data[1];
|
||||
}
|
||||
|
||||
unsigned clang_isFunctionTypeVariadic(CXType X) {
|
||||
|
|
Loading…
Reference in New Issue