Skip to content

Commit 66085a5

Browse files
Doug Wyattcjappl
authored andcommitted
New file: EFfectAnalysis.cpp.
Use LLVM_DEBUG for debug logging. Remove unneeded isInline() check in functionIsVerifiable
1 parent 4870302 commit 66085a5

File tree

5 files changed

+1297
-1269
lines changed

5 files changed

+1297
-1269
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,10 @@ struct FunctionEffectDifferences : public SmallVector<FunctionEffectDiff> {
488488
const FunctionEffectsRef &New);
489489
};
490490

491+
// Defined in EffectAnalysis.cpp. TODO: Maybe make this a method of Sema and move
492+
// more of the effects implementation into that file?
493+
void performEffectAnalysis(Sema &S, TranslationUnitDecl *TU);
494+
491495
/// Sema - This implements semantic analysis and AST building for C.
492496
/// \nosubgrouping
493497
class Sema final : public SemaBase {

0 commit comments

Comments
 (0)